
Actually, I was looking for it, more for the functional parts of fusion(ie invoke, fuse, unfuse), than the sequences, since as you say std::tuple can be used in directly in fusion. ----- Original Message -----
From: Joel de Guzman <joel@boost-consulting.com> To: boost@lists.boost.org Cc: Sent: Monday, March 12, 2012 10:23 AM Subject: Re: [boost] [fusion] Fusion using varidiac templates
On 3/12/12 10:40 AM, paul Fultz wrote:
hi, I remember seeing that there was an initial port of fusion to use variadiac
templates a while back. Is that code available somewhere? If so, where
could a find that?
A variadic fusion sequence is easy-peasy. I have one implementation here that would probably go into the codebase sometime in the future. OTOH, your std c++11 library should probably have a variadic-savvy tuple already if your compiler supports variadics (g++ does, MSVC doesn't (yet)).
Right now, fusion supports std::tuple as-is. You can use your std::tuple just like any other fusion library. Simply include fusion/adapted/std_tuple.hpp and you can use it just like any other fusion sequence.
Regards, -- Joel de Guzman http://www.boostpro.com http://boost-spirit.com
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost