Boost logo

Boost :

From: Joel de Guzman (joel_at_[hidden])
Date: 2006-12-15 17:26:22

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)


Joel de Guzman

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