Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2004-09-07 07:08:04


Toon Knapen writes:
> 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 ?

Done.

--
Aleksey Gurtovoy
MetaCommunications Engineering

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