Subject: Re: [boost] [fusion] Fusion using varidiac templates
From: paul Fultz (pfultz2_at_[hidden])
Date: 2012-03-12 12:29:20
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_at_[hidden]>
> To: boost_at_[hidden]
> 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:
>> 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.
> Joel de Guzman
> Unsubscribe & other changes:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk