Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Live Online Classes in Design, Coding & AI — Small Classes, Free Retakes
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