Skip to content

Glossary: C++ Beyond the Basics

Generic lambda

Also written: generic lambdas

A lambda with `auto` parameters, so it works for any type, such as one that prints both `325` and `"Hearth"`.

Where the book teaches it

Related terms

Lambda