Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2004-09-16 09:11:01


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

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