31. STL Containers
It was new. It was singular. It was simple. It must succeed!
– H. Nelson
• Container Overview
Container Representation; Element Requirements
• Operations Overview
Member Types; Constructors, Destructor, and Assignments; Size and Capacity; Iterators; Element Access; Stack Operations; List Operations; Other Operations
vector; Lists; Associative Containers
• Container Adaptors
stack; queue; priority_queue
The STL consists of the iterator, container, algorithm, and function object parts of the standard library. The rest of the STL is presented in Chapter 32 and Chapter 33.
31.2. Container Overview
A container holds a sequence of objects. This section summarizes the types ...