Boost logo

Boost :

From: Pavol Droba (droba_at_[hidden])
Date: 2004-09-07 15:07:53


On Tue, Sep 07, 2004 at 04:31:00PM +0300, Peter Dimov wrote:
> Pavol Droba wrote:
> >
> >I might be wrong, but this error was not there before the change of
> >the mpl. If you have a look into the code, the errors are shown at
> >std::distance<> with explicit type specification. I assumed, that
> >there migh be a conflict with mpl::distance.
>
> This is a compiler bug. Once a class template named distance<> has been
> introduced at any context, the VC6/7 parser interprets distance< as
> referring to a class template. This is part of the "implicit typename"
> heuristic.
>

I see, thanks for explanation. So then mpl is not buggy. Is my workaround correct?

Regards,

Pavol


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk