
27 Jul
2006
27 Jul
'06
4:33 a.m.
JoaquĆn,
Suppose we've got the following:
template<typename T, int N> struct foo { typedef ... type; };
and we want to add MPL lambda support for broken compilers.
'foo' is not an MPL metafunction. From http://www.boost.org/libs/mpl/doc/refmanual/metafunction.html: All metafunction's arguments must be types (i.e. only *type template parameters* are allowed). HTH, -- Aleksey Gurtovoy MetaCommunications Engineering