Lambda Functions

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

Lambda functions provide in-place functionality. 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 move.

Get hands-on with 1000+ tech skills courses.