Chapter 14. Standard Library Algorithms and C++20 Ranges & Views
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 that correspond 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. ...
Get C++20 for Programmers, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.