Boost logo

Boost :

From: Stjepan Rajko (stipe_at_[hidden])
Date: 2007-11-29 20:04:09


On Nov 29, 2007 5:50 PM, Joel de Guzman <joel_at_[hidden]> wrote:
>
> Try:
>
> #include <boost/mpl/is_sequence.hpp>
> #include <boost/fusion/include/vector.hpp>
> #include <boost/fusion/include/mpl.hpp>
>
> int main()
> {
> BOOST_MPL_ASSERT(( boost::mpl::is_sequence<boost::fusion::vector<int> > ));
> }
>
> mpl.hpp does the mapping
>

That did it! Thanks for the quick reply!

> (BTW. Not really relevant, but, there's a nifty flat "include" directory
> where you can find all the includes which forwards to all modules.
> Like MPL flat include structure.)
>

I've noticed, and it's very helpful - thanks for adding that in!
(although I have to say the old include file layout definitely gave me
an appreciation for fusion's beautiful structure :-))

Stjepan


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