Boost logo

Boost :

Subject: Re: [boost] [fusion] Signature Params -> vector
From: Daniel Larimer (dlarimer_at_[hidden])
Date: 2011-02-25 01:22:18


On Feb 25, 2011, at 1:15 AM, Joel Falcou wrote:

> On 25/02/11 07:11, Daniel Larimer wrote:
>> I would like to know if there is an existing way to achieve the following:
>>
>> params_to_vector<void(int,double,string)>::type => boost::fusion::vector<int,double,string>
>> _______________________________________________
>> Unsubscribe& other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
> Look at function_traits, there is metafunction to build such transformation.

If you are referring to this: http://www.boost.org/doc/libs/1_46_0/libs/type_traits/doc/html/boost_typetraits/reference/function_traits.html

I was hoping to avoid having to build off of that because it would involve the pre-processor.

> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk