
7 Sep
2004
7 Sep
'04
12:08 p.m.
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