
15 Dec
2006
15 Dec
'06
10:26 p.m.
Tobias Schwinger wrote: on it's:
fusion::for_each( seq, v );
Um, where is an actor here? Meaning where is the call to an output method
The v stands for visitor (I just noticed, you used v for variant, sorry for the inconsistency) - basically the same kind of thing we'd use with Boost.Variant, so I omitted it just like you did.
It would be (for completeness sake): for_each(seq, cout << _1); (using lambda/phoenix, of course) Regards, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net