Re:GCC 6.1 Released
by lultimouomo on Wednesday April 27, 2016 @03:28PM
(#11583725)
But note that you cannot use such class as a template parameter, as it has no linkage. Which makes it mostly useless, since you usually want to use lambdas with templates.
This restriction has been lifted in C++11.
Re:GCC 6.1 Released
by CyberDildonics on Wednesday April 27, 2016 @04:22PM
(#11584204)
Inside of a function too?
It is/was. It could be used to manually create a lambda function.