Boost logo

Boost :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2004-09-06 06:33:58


Joaquín Mª López Muñoz wrote:

> Visual Age 6.0 for AIX complains about the way list iterator is
> defined
>
> "/home/tk/boost_regression/boost/boost/mpl/list/aux_/iterator.hpp", line
> 30.47: 1540-0416 (S) "next" cannot be declared because its name has
> already been used.
>
> The offending line is
>
> typedef l_iter<typename next<Node>::type> next;
>
> I guess it'd suffice with rewriting it as:
>
> typedef l_iter<typename boost::mpl::next<Node>::type> next;
>

I tested that and indeed this fixes the error. Can one of the MPL
authors apply this fix, thanks ?


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