Template Class Vector

A vector is a kind of sequence container that supports random access iterators. You can use insert and erase operations at the end and in the middle but at the end is faster.

A vector satisfies all of the requirements of a container and of a reversible container and of a sequence. It also satisfies most of the optional sequence requirements with the exceptions being push_front and pop_front member functions.