Skip to Content
C++20 for Programmers: An Objects-Natural Approach, 3rd Edition
book

C++20 for Programmers: An Objects-Natural Approach, 3rd Edition

by Paul Deitel, Harvey Deitel
April 2022
Intermediate to advanced
1012 pages
38h 1m
English
Pearson
Content preview from C++20 for Programmers: An Objects-Natural Approach, 3rd Edition

13. Standard Library Containers and Iterators

Objectives

In this chapter, you’ll:

  • Learn more about the C++ standard library’s reusable containers, iterators and algorithms.

  • Understand how containers relate to C++20 ranges.

  • Use I/O stream iterators to read values from the standard input stream and write values to the standard output stream.

  • Use iterators to access container elements.

  • Use the vector, list and deque sequence containers.

  • Use ostream_iterators with the std::copy and std::ranges::copy algorithms to output container elements in a single statement.

  • Use the set, multiset, map and multimap ordered associative containers.

  • Understand the differences between the ordered and unordered associative containers.

  • Use the stack, queue and priority_queue ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Designing Data-Intensive Applications, 2nd Edition

Designing Data-Intensive Applications, 2nd Edition

Martin Kleppmann, Chris Riccomini

Publisher Resources

ISBN: 9780136905776