Subject: Re: [boost] [Fusion] Some ideas
From: TONGARI (tongari95_at_[hidden])
Date: 2013-02-02 23:28:27
2013/2/3 Nathan Ridge <zeratul976_at_[hidden]>
> > >> I think it'd be nice to have:
> > >> * Auxiliary function 'eval' to force the evaluation of transform-like
> > >> e.g. fusion::eval(fusion::**transform(a, b, some_void_return_ftor))
> > >
> > > How's that any different from as_vector, as_list, etc. ?
> > They cannot take voids.
> > > Also, what will be the container type of the result of "eval" ?
> > Void. Just to trigger each transformation.
> Why not use for_each  instead of transform then?
"eval" is for those transform-like, not necessary 'transform'.
The now implemented mappings are all transform-like.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk