lambda


code
Syntax [crayon-5daeffb34f9da166762706/]   [crayon-5daeffb34f9e5855455702/] Note: the code from above is no longer necessary in C++14, the compiler will deduce the return type.   Usage / Usability Capture list [] take none of the variables from the enclosing scope [&] take all the variables from the enclosing scope by reference [=] […]

General features: lambda expressions