Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2004-09-07 08:31:00


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.


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