My Account Log in

1 option

C++ Lambda Expressions - From C++98 to C++23.

Academic Video Online: Premium - United States Available online

View online
Format:
Video
Language:
English
Physical Description:
1 online resource (197 minutes)
Place of Publication:
[Place of publication not identified] : PACKT Publishing, 2025.
Language Note:
In English.
System Details:
video file
Summary:
<b>Explore the evolution of callable entities in C++—from function pointers to advanced C++23 lambdas. Learn syntax, captures, and modern optimizations to write cleaner, faster, and more expressive code for real-world projects.</b><h4>Key Features</h4><ul><li>Coverage from function pointers to C++23 lambdas</li><li>Clear explanation of syntax and capture mechanisms</li><li>Practical examples reflecting real-world scenarios</li></ul><h4>Book Description</h4>From C++98 to C++23, callable entities have transformed how developers write flexible, maintainable, and efficient code. The course begins with a solid foundation in function pointers, including callbacks and pointers to member functions, then moves to function objects, highlighting their strengths over raw pointers and their role in shaping the path toward lambdas. Next, you’ll explore the game-changing arrival of lambdas in C++11. You will master their syntax, capture lists, and usage patterns, from simple inline functions to advanced techniques like immediately invoked functions and std::function wrappers. The journey continues into C++14 and C++17 with generic lambdas, generalized captures, and constexpr capabilities, unlocking even greater flexibility and performance in your code. Finally, the course covers C++20 and C++23 innovations, including template parameters in lambdas, constrained lambdas, static call operators, and recursive lambdas. Through practical, real-world examples, you will gain an in-depth understanding of each feature and learn to combine them effectively, enabling you to write modern, expressive, and highly reusable C++ code for production environments.<h4>What you will learn</h4><ul><li>Implement function pointers and function objects effectively</li><li>Write and optimize lambda expressions for various contexts</li><li>Apply capture techniques for safety and clarity</li><li>Use modern C++ lambda features for clean and maintainable code</li><li>Leverage template and constexpr capabilities in lambdas</li><li>Employ recursion and constraints in advanced lambda design</li></ul><h4>Who this book is for</h4>This course is designed for intermediate to advanced C++ developers who want to deepen their understanding of callable entities and master lambdas across all C++ standards. Participants should have solid knowledge of C++ syntax, object-oriented programming, and basic templates. Familiarity with C++98/03 features is recommended.
Notes:
Title from resource description page (viewed July 20, 2026).

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account