Standard C++ Library Class Reference
Erases all elements from the self.
bool 
empty () const;
Returns true if the size of self is zero.
reference 
front ();
Returns a reference to the first element.
const_reference 
front () const;
Returns a constant reference to the first element.
iterator
erase (iterator first, iterator last);
Deletes the elements in the range (first, last). Returns an iterator pointing to the element
following the last deleted element, or end() if there were no elements after the deleted
range.
iterator
erase (iterator position);
Removes the element pointed to by position. Returns an iterator pointing to the element
following the deleted element, or end() if there were no elements after the deleted range.
iterator 
insert (iterator position);
Inserts a copy of the default value of type T before position. The return value points to
the inserted element. Requires that type T have a default constructor.
iterator 
insert (iterator position, const T& x);
Inserts x before position. The return value points to the inserted x.
void 
insert (iterator position, size_type n, const T& x);
Inserts n copies of x before position.
template <class InputIterator>
void 
insert (iterator position, InputIterator first,
 InputIterator last);
Inserts copies of the elements in the range (first, last] before position.
size_type 
max_size () const;










