Lightning Talk: Into the Lambdaverse — The Beginning
summary
Shows an actual code experiment: an immediately-invoked lambda that does ++n in an immediately-invoked lambda and variations that toggle mutable vs const capture interaction. Captures by value, default capture with =, and init-capture produce conflicting compile results; the presented tests compile the mutable case, reject the plain case, then surprisingly accept a specific init-capture form. References specific C++ standard paragraphs and multiple compilers agree, leaving the standard/implementation mismatch unresolved.
AI-written summary · about
related talks
01h 00mA Kaleidoscope of C++ Lambdas
01h 04mC++ Lambda Idioms
01h 26mLet's Look at Lambdas
52mBack to Basics: Lambdas from Scratch
01h 00mC++: λ Demystified
56mC++ Lambda Idioms
05mImmediately Invoked Coroutine Lambdas in C++23 - Lifetime Pitfalls & Best Practices
32mCute C++ Tricks, Part 2 of N: More code you should learn from and never write
