|
Boost : |
Subject: Re: [boost] [fusion] mpl::is_sequence<fusion::vector<> >::type::value should work right?
From: Dean Michael Berris (mikhailberis_at_[hidden])
Date: 2009-01-12 22:43:26
On Tue, Jan 13, 2009 at 11:16 AM, Joel de Guzman
<joel_at_[hidden]> wrote:
> 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>
>
AHA!
That did the trick, thanks. :)
Now moving on with adapting GCC Tuple's into Fusion sequences...
-- Dean Michael C. Berris Software Engineer, Friendster, Inc.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk