[boost::fusion] set_c or vector_c in fusion?

Hello all! Does someone know if the fusion library has some analog to mpl::sec_c or mpl::vector_c? Or is there any way to pass mpl::set_c as a template parameter to fusion::set class? Thanks a lot, Ovanes

Ovanes Markarian wrote:
Hello all!
Does someone know if the fusion library has some analog to mpl::sec_c or mpl::vector_c?
All mpl sequences can be used in fusion. An mpl::set_c or vector_c, or
even range_c are all usable in fusion. Just include the necessary files
Or is there any way to pass mpl::set_c as a template parameter to fusion::set class?
If you want it converted, you simply write:
fusion::set<...> fs = ms;
where fs is your fusion set and ms is your mpl set. Here's an example
(untested):
typedef mpl::set_c

Wow! This is really great! Thanks for the great lib. -----Original Message----- From: Joel de Guzman [mailto:joel@boost-consulting.com] Sent: Wednesday, February 07, 2007 12:46 AM To: boost-users@lists.boost.org Subject: Re: [Boost-users] [boost::fusion] set_c or vector_c in fusion? Ovanes Markarian wrote:
Hello all!
Does someone know if the fusion library has some analog to mpl::sec_c or mpl::vector_c?
All mpl sequences can be used in fusion. An mpl::set_c or vector_c, or even
range_c are all usable in fusion. Just include the necessary files
Or is there any way to pass mpl::set_c as a template parameter to fusion::set class?
If you want it converted, you simply write:
fusion::set<...> fs = ms;
where fs is your fusion set and ms is your mpl set. Here's an example
(untested):
typedef mpl::set_c
participants (2)
-
Joel de Guzman
-
Ovanes Markarian