
27 Sep
2006
27 Sep
'06
9:59 a.m.
Matt Calabrese wrote:
Are there plans for creating generator templates for views? This is especially useful when working with lambda expressions for a transformation function. For instance, it would be really helpful if a user could do:
void foo() { // Assume proper initialization vector< int*, char*, float* > iterators;
bar( make_transform_view( iterators, *_1 ) );
I think that is just: bar(transform(iterators, *_1)); , no? Regards, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net