In C++11, is there a way to template a lambda function? Or is it inherently too specific to be templated?
I understand that I can define a classic templated class/fu
I wonder what about this:
template inline std::function templateLamda() { return [](){ std::cout << something.memberfunc() }; }
I used similar code like this, to generate a template and wonder if the compiler will optimize the "wrapping" function out.