Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2002-09-13 05:09:25


Toon Knapen wrote:
> I got following error when including <boost/mpl/bool_c.hpp>
> with the mipspro compiler on SGI :
>
> Also, I see that <boost/mpl/bool_c.hpp> includes
> <boost/mpl/integral_c.hpp>
> Is this really necessary, or could integral_ops be moved to
> integral_c.hpp ?

Seems like you are using an old version - the current "bool_c.hpp" doesn't
include anything besides "boost/config.hpp". Check out the CVS state in
"mpl_v2" branch - it's much more up-to-date.

As for the errors - may be changing

    typedef integral_c<T, value + 1> next;
    typedef integral_c<T, value - 1> prior;

to

    typedef integral_c<T, N + 1> next;
    typedef integral_c<T, N - 1> prior;

will help?

Aleksey


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