I suggest you take a look at Boost.MPL, which provides that kind of
facilities in C++03.
You can do partial meta-function application, meta-function
composition, write lambda expressions with placeholders, etc.
(A meta-function is a template that takes N types and returns one as a
member typedef named "type", like type traits)
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:firstname.lastname@example.org]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.yqcomputer.com/