Lambda Functions

Lambda functions provide us all the functionality we need, on the go. They are faster than user defined functions.

Lambda functions provide in-place functionality because the compiler gets a lot of insight and has therefore great optimization potential. Lambda functions can receive their arguments by value or by reference. They can capture their environment by value, by reference, and, with C++14, by std::move.

Get hands-on with 1200+ tech skills courses.