
19 Jul
2011
19 Jul
'11
12:03 a.m.
On Jul 18, 2011, at 6:51 PM, Edward Diener <eldiener@tropicsoft.com> wrote:
I will probably be adding Jeffrey Hellrung's suggestion to TTI. If I do I will give examples which show how to use boost::mpl::lambda to pass a metafunction which depends on placeholders as an argument to the HAS_TYPE generated metafunction. For further knowledge of what lambda can do, the metaprogrammer should read the MPL documentation.
Nice, it's kind of like find_if, except that a type is not a conventional metadata container (and the metafunction doesn't return an iterator ;).