April 2022
Intermediate to advanced
1012 pages
38h 1m
English
Objectives
In this chapter, you’ll:
Understand minimum iterator requirements for working with standard library containers and algorithms.
Create lambda expressions that capture local variables to use in the lambda expressions’ bodies.
Use many of the C++20 std::ranges algorithms.
Understand the C++20 concepts corresponding to the C++20 std::ranges algorithms’ minimum iterator requirements.
Compare the new C++20 std::ranges algorithms with older common-range std algorithms.
Use iterators with algorithms to access and manipulate the elements of standard library containers.
Pass lambdas, function pointers and function objects into standard library algorithms mostly interchangeably.
Use ...