YoVDO

C++ - λ Demystified

Offered By: code::dive conference via YouTube

Tags

Code::Dive Courses C++ Courses Embedded Systems Courses Generic Programming Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of C++ lambdas in this comprehensive conference talk from code::dive 2019. Delve into the implementation details of lambdas using C++ Insights, examining how compiler-generated code changes with lambda modifications. Gain insights into practical applications of lambdas, particularly in constrained environments like embedded systems. Learn to write more concise and unique code using lambda functions. Discover the nuances of lambda captures, generic lambdas, and potential pitfalls like the hanging reference trap. Investigate advanced topics such as lambda templates, non-type template parameters, and immediately invoked function expressions. Presented by Andreas Fertig, a seasoned C++ trainer and consultant specializing in embedded systems, this talk provides a solid foundation for understanding and effectively utilizing lambdas in C++ development.

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

Related Courses

Introduction to the Boost C++ Libraries
Pluralsight
Scala Type Classes and Parameterization
Pluralsight
Advanced Java Programming
Udemy
A Fast, Compliant JSON Pull Parser for Writing Robust Applications - CppCon 2023
CppCon via YouTube
A Graph Based Update System in C++ - Lightning Updates
CppNow via YouTube