Possible duplicate:
Can lambda patterns be built?
Is it possible to use lambda C ++ 0x with template parameters? For example:
template <typename T> [=](const T *x) {}
What I'm trying to do is encode a static loop for a loop in the type list (list of variational arguments), and I want to pass the current type as a parameter to the operator () of the target functor (or lambda).
lambda c ++ 11 templates metaprogramming
axilmar Nov 08 2018-10-10 14:06
source share