
16 Sep
2004
16 Sep
'04
2:11 p.m.
Jonathan Wakely writes:
On Wed, Sep 15, 2004 at 12:28:08PM -0400, Hugo Duncan wrote:
Aleksey,
With gcc (GCC) 3.3.3 (cygwin special)
there is a include order dependency. Including boost/bind.hpp before boost/mpl/transform.hpp causes a compile error
type named `type' in `struct boost::mpl::apply_wrap2<boost::mpl::push_front<mpl_::na, mpl_::na>, mpl_::arg<1>, wrapper<mpl_::arg<2> > >'
I have not been able to test with other gcc versions.
With GCC 3.3.3 I get errors about _1 and _2 being ambiguous from the following testcase:
#include <boost/bind.hpp> #include <boost/mpl/transform.hpp>
(yes, that's it)
Thanks, Jonathan, this was helpful! -- Aleksey Gurtovoy MetaCommunications Engineering