Boost logo

Boost :

Subject: Re: [boost] [fusion] mpl::is_sequence<fusion::vector<> >::type::value should work right?
From: Joel de Guzman (joel_at_[hidden])
Date: 2009-01-12 22:16:04


Dean Michael Berris wrote:
> Hi Guys,
>
> I've tried the following minimal test with the latest in trunk and I
> get an error with GCC 4.2.
>
> #include <boost/fusion/container/vector.hpp>
> #include <boost/static_assert.hpp>
>
> int main(int argc, char *argv[]) {
> BOOST_STATIC_ASSERT((boost::mpl::is_sequence<boost::fusion::vector<>
>> ::type::value));
> return EXIT_SUCCESS;
> }

Try adding

#include <boost/fusion/include/mpl.hpp>

Cheers,

-- 
Joel de Guzman
http://www.boostpro.com
http://spirit.sf.net

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