Chapter 5
Standard Library Containers and Algorithms
Chapter Objectives
By the end of this chapter, you will be able to:
- Explain what iterators are
- Demonstrate the use of sequential containers, container adaptors, and associative containers
- Understand and use unconventional containers
- Explain cases of iterator invalidation
- Discover algorithms implemented in the standard library
- Use user-defined operations on algorithms with lambda expressions
Introduction
The core of C++ is its Standard Template Library (STL), which represents a set of important data structures and algorithms that facilitates the programmer's task and improves code efficiency.
The components of the STL are parametric so that they can be reused and combined in different ...
Get C++ Fundamentals 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.