Lightning Talk: The Decade Long Rewind: Lambdas in C++
summary
Survey of lambda changes from C++11→C++20 with concrete claims and examples: lambdas produce unique unnamed closure types so two identical lambdas have different closure types, captures support value/ref and mutable semantics demonstrated by a small snippet that mutates a captured-by-value copy, C++14 adds default params generic lambdas and generalized/move captures, C++17 brings constexpr lambdas and capture of this by value, C++20 adds template-style lambdas and parameter-pack captures enabling compile-time algorithms via constexpr lambdas and it shows these techniques actually compile and run.
AI-written summary · about
chapters (4)
related talks
01h 06mLambdas - uses and abuses
53mExplaining Lambda Calculus through Plain JavaScript
37mFun with Lambdas!
45mClosed for Inventory: The History and Mechanics of Closures
01h 03mLambda Calculus For People Who Can't Be Bothered to Learn It - part 2 of 2
30mThe Universe in a Single Arrow: A Live Dive into the Lambda Calculus
48mIt’s birds all the way down: Fun Introduction to Lambda Calculus
34mThe universe in a single arrow: A live dive into the lambda calculus
