Boost logo

Boost Users :

From: Joel de Guzman (joel_at_[hidden])
Date: 2006-08-14 20:12:35


Roman Perepelitsa wrote:
> <imre <at> u-tx.com> writes:
>
>> Is it possible to do this trick during compilation time?
>> I was able to go from type lists to boost::cons but I can't find a way to
>> make that last step.
>
> Hi,
>
> Maybe boost::fusion can help.

Sure:

     typename boost::fusion::result_of::as_vector<your_type_list>::type

Regards,

-- 
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net