The <vector>
header is one of the standard container template headers.
It declares the vector
class template
and a few global function templates that operate on vector
objects.
A vector is a sequence container that yields linear performance for inserting and erasing at any point in the container, except the end, for which performance is constant. A vector supports random access iterators. A vector is best thought of as a generalization of arrays.
See Chapter 10 for information about containers in.