
23 Sep
2004
23 Sep
'04
6:21 a.m.
Hi Hartmut,
More sophisticated constructs like the list_ would help in outputting container structures:
vector<int> v = ...; generate(list_(',', int_)[phoenix::const_(v)], someoutputiter);
outputs a comma separeted list of integers, and so on.
Do we need 'int_' here. With long class names, the expression will become huge. Is it required to specify the type of the object to be output? - Volodya