Boost logo

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.


Joel de Guzman

Boost list run by bdawes at, gregod at, cpdaniel at, john at