
25 Jul
2006
25 Jul
'06
4:58 p.m.
I wrote:
Ok, so
struct Map { template<typename T> struct apply { typedef int type;
}; };
is a "lambda expression" then?
David Abrahams wrote:
No but,
Map
is a lambda expression.
Did you honestly think that I was refering to the *definition* per se, and not the *defined entity* (Map)? ... The reason that "metafunctor" is not that intimidating to more junior (w.r.t. meta programming) is that they have learned the use of "functors" in generic algorithms and such in C++. And it seems to me that things being applicable via mpl::apply is the closest we get to that notion. /David