15 Standard Library Containers and Iterators
Objectives
In this chapter you’ll:
Be introduced to the Standard Library containers, iterators and algorithms.
Use the
vector
,list
anddeque
sequence containers.Use the
set
,multiset
,map
andmultimap
associative containers.Use the
stack
,queue
andpriority_queue
container adapters.Use iterators to access container elements.
Use the
copy
algorithm andostream_iterator
s to output a container.Understand how to use the
bitset
“near container” to manipulate a collection of bit flags.
Get C++ How to Program, 10/e 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.