Exploring Generic Lambdas and Lambda Templates

Build on the fundamentals of generic lambdas and lambda templates in this lesson.

Lambdas, which are formally called lambda expressions, are a simplified way to define function objects in the place where they are needed. This typically includes predicates or comparison functions passed to algorithms. Although we won’t discuss lambda expressions in general, let’s take a look at the following examples:

Get hands-on with 1400+ tech skills courses.