
25 Sep
2006
25 Sep
'06
11:14 p.m.
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