Possible Duplicate:
Can lambda functions be templated?
Is it possible to have a c++0x lambda with template parameters? For example:
template <typename T> [=](const T *x) {}
What I am trying to do is to code a static for loop on a type list (variadic argument list), and I want to pass the current type as a parameter to to the operator () of the target functor (or lambda).