Standard C++ Library Class Reference
 void insert (iterator, size_type, const T&);
 template <class InputIterator>
 void insert (iterator, InputIterator, InputIterator);
 iterator erase (iterator);
 iterator erase (iterator, iterator);
 void swap (vector<T, Allocator>&);
};
 // Non-member Operators
template <class T>
 bool operator== (const vector<T,Allocator>&, 
 const vector <T,Allocator>&);
template <class T>
 bool operator< (const vector<T,Allocator>&, 
 const vector<T,Allocator>&);
// Specialized Algorithms
template <class T, class Allocator>
 void swap (const vector<T,Allocator>&, const vector<T,Allocator>&);
Constructors and Destructors
explicit vector (const Allocator& alloc = Allocator());
The default constructor. Creates a vector of length zero. The vector will use the allocator alloc
for all storage management.
explicit vector (size_type n, 
 const Allocator& alloc = Allocator());
Creates a vector of length n, containing n copies of the default value for type T. Requires that T
have a default constructor. The vector will use the allocator alloc for all storage management.
vector (size_type n, const T& value,
 const Allocator& alloc = Allocator());
Creates a vector of length n, containing n copies of value. The vector will use the allocator
alloc for all storage management.
vector (const vector<T, Allocator>& x);
Creates a copy of x.
template <class InputIterator>
vector (InputIterator first, InputIterator last,
 const Allocator& alloc = Allocator());
Creates a vector of length last - first, filled with all values obtained by dereferencing the
InputIterators on the range [first, last). The vector will use the allocator alloc for all storage
management.
~vector ();
The destructor. Releases any allocated memory for this vector.










