C++ Lambda Story: Everything you need to know about Lambda Expressions in Modern C++! - Paperback

C++ Lambda Story: Everything you need to know about Lambda Expressions in Modern C++! - Paperback

$30.22
Sale price  $30.22 Regular price 
Skip to product information
C++ Lambda Story: Everything you need to know about Lambda Expressions in Modern C++! - Paperback

C++ Lambda Story: Everything you need to know about Lambda Expressions in Modern C++! - Paperback

$30.22
Sale price  $30.22 Regular price 

by Bartlomiej Filipek (Author)

This book shows the story of lambda expressions in C++. You'll learn how to use this powerful feature in a step-by-step manner, slowly digesting the new capabilities and enhancements that come with each revision of the C++ Standard.

This is a Black and White version. The full-colour print is also available - look for "C++ Lambda Story (Full Color)".

We'll start with C++98/03, and then we'll move on to the latest C++ Standards.

  • C++98/03 - how to code without lambda support. What was the motivation for the new modern C++ feature?
  • C++11 - early days. You'll learn about all the elements of a lambda expression and even some tricks. This is the longest chapter as we need to cover a lot.
  • C++14 - updates. Once lambdas were adopted, we saw some options to improve them.
  • C++17 - more improvements, especially by handling this pointer and allowing constexpr.
  • C++20 - in this section we'll have a look at the latest and very fresh C++20 Standard.
Additionally, throughout the chapters, you'll learn about the following techniques:
  • Immediately Invoked Functional Expressions (IIFE)
  • How to instrument a default functor to gather extra information
  • Replacing std:: bind1st, std:: bind2nd and removed functional stuff
  • The Overloaded Pattern and how to inherit from a lambda
  • Passing C++ captureless lambda as a function pointer to C API
  • LIFTING with lambdas
  • Storing lambdas in a container
  • Variadic templates and arguments packs
  • Lambdas and asynchronous execution
  • and many more

All equipped with more than 85 runnable code samples

Number of Pages: 164
Dimensions: 0.35 x 9.25 x 7.5 IN
Publication Date: February 01, 2021

Intentional design

We make things that work better and last longer. Our products solve real problems with clean design.

Quality first

We obsess over the details and strive to deliver the best products at the best prices, every time.

Customer care

We're always on your side: keeping our loyal customers happy is our top priority and number one goal.

Feature 1

Made with care and unconditionally loved by our customers, this signature bestseller exceeds all expectations.

Feature 2

Made with care and unconditionally loved by our customers, this signature bestseller exceeds all expectations.

At the heart of every product lies a unique story, driven by our passion for quality and innovation. Each item enhances your everyday life and sparks joy.