Containers overview
A container is an STL template class that manages a sequence of elements. Such elements can be of any object type that supplies a copy constructor, a destructor, and an assignment operator (all with sensible behavior, of course). The destructor may not throw an exception. This document describes the properties required of all such containers, in terms of a generic template class Cont. An actual container template class may have additional template parameters. It will certainly have additional member functions.
The STL template container classes are:
- array (Added with TR1)
- deque
- list
- map
- multimap
- multiset
- set
- unordered_map (Added with TR1)
- unordered_multimap (Added with TR1)
- unordered_set (Added with TR1)
- unordered_multiset (Added with TR1)
- vector
The Standard C++ Library template class basic_string also meets the requirements for a template container class.