
3 Feb
2013
3 Feb
'13
4:28 a.m.
2013/2/3 Nathan Ridge <zeratul976@hotmail.com>
I think it'd be nice to have: * Auxiliary function 'eval' to force the evaluation of transform-like view 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 [1] instead of transform then?
"eval" is for those transform-like, not necessary 'transform'. The now implemented mappings are all transform-like. Regards