|
Boost : |
From: John Femiani (JOHN.FEMIANI_at_[hidden])
Date: 2008-07-11 19:53:30
> -----Original Message-----
> From: boost-bounces_at_[hidden]
> [mailto:boost-bounces_at_[hidden]] On Behalf Of Peng Yu
> Sent: Friday, July 11, 2008 3:32 PM
> To: boost_at_[hidden]
> Subject: [boost] Is there a helper function for
> boost::fusion::vector justas std::make_pair to std::pair?
>
> Hi,
>
> Is there a helper function for boost::fusion::vector just as
> std::make_pair to std::pair?
>
> boost::fusion::vector<very_loooooooooooooooooong_type,...,very
> _loooooooooooooooooong_type>
> v(...,,...);
>
> Suppose I have the above case, where the declaration is very
> long, I would like a helper function to simplify the above definition.
>
I use make_vector.
Look at #include <boost/fusion/include/make_vector.hpp>
--John
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk