Summary
This episode serves as the second chapter in Jason's special five-part series on lambdas, focusing on practical applications and advanced techniques. Jason first reviews answers to Chapter 1's homework, including lambda-to-function-pointer conversions, reasons for inheriting from lambdas, and implementing a Fibonacci-generating lambda in C++98. He then introduces Chapter 2's 'Building on Lambdas' theme, recommending six episodes on resource management with lambdas, higher-order functions, using inheriting from lambdas, aggregate initialization, and visitor pattern implementation, concluding with new homework challenges.
Related C++ Standard Sections
This episode covers topics found in these sections of the C++ standard:
-
[utility.exchange]40% match
Resources
- Watch Episode on YouTube
- Christmas Class 2019 Playlist
- Chapter 1 homework answers
- Chapter 2 notes and homework
- Ep150: Lambdas For Resource Management
- Ep184: What Are Higher Order Functions?
- Ep48: C++17's Variadic Using
- Ep49: Why Inherit From Lambdas?
- Ep25: C++17's Aggregrate Initialization
- Ep134: The Best Possible Way To Create A Visitor