Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

C++ Lambda Idioms - From Basics to Advanced Techniques

CppCon via YouTube

Overview

Explore advanced C++ lambda techniques and idioms in this comprehensive CppCon 2022 conference talk by Timur Doumler. Delve into the evolution of lambdas from C++11 to C++23, covering topics such as generic lambdas, init captures, constexpr lambdas, and upcoming features. Learn about lesser-known lambda tricks, including inheritance, recursive calls, and immediately-invoked lambda expressions. Gain insights into practical applications, clean code practices, and the future of lambdas in C++ development.

Syllabus

Introduction
Lambda Expressions
Unary Trick
Captures
Local Variables
Immediately Invoked Functions
Never Again
Generic Lambda
Variable Template
Init Capture
Class Template Argument Deduction
C20 Lambda Changes
C23 Lambda Changes
C23 Deducing
Recursive Lambda
Tree Traversal

Taught by

CppCon

Reviews

Start your review of C++ Lambda Idioms - From Basics to Advanced Techniques

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.