lambda


code
Syntax [crayon-5ce786ec473db928879085/]   [crayon-5ce786ec473e7957205326/] 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