|
Boost : |
From: Joel de Guzman (joel_at_[hidden])
Date: 2006-09-25 19:14:03
Joel de Guzman wrote:
> Andy Little wrote:
>
>> OK. FWIW I found that creating a sequence by pushing_back result_types to an
>> empty vector is a great way to 'create' a result sequence at compile time. It
>> kind of creates something out of nothing.
Oh, and BTW, have you considered using fusion::cons? If you are doing
lots of sequence building, then cons is a very viable option. For
example, with expression templates, cons can build the ET tree
more efficiently than push_back/vector.
Regards,
-- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk