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

YouTube

C++ - λ Demystified

code::dive conference via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk examines how C++ lambdas are implemented and how changes to a lambda affect compiler-generated code. It also demonstrates where lambdas can help write less repetitive code, including in constrained applications.

Syllabus

Introduction
Lambdas
lambda question
capturing
lambda and function pointers
lambda size
C standard
Generic lambdas
Hanging reference trap
Captures
lambda captures
a1 captures
context parameters
C20 context
Immediately invoked function expressions
POSIX API
lambda capture
lambda templates in C
nontype template parameters

Taught by

code::dive conference

Reviews

Start your review of C++ - λ Demystified

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.