Standard C++ Library Reference ISO/IEC (VERSION3)

vector::clear
void clear();
The member function calls erase( begin(), end()).
vector::const_iterator
typedef T1 const_iterator;
The type describes an object that can serve as a constant random-access iterator for the
controlled sequence. It is described here as a synonym for the implementation-defined type T1.
vector::const_pointer
typedef typename Alloc::const_pointer
const_pointer;
The type describes an object that can serve as a constant pointer to an element of the controlled
sequence.
vector::const_reference
typedef typename Alloc::const_reference
const_reference;
The type describes an object that can serve as a constant reference to an element of the
controlled sequence.
vector::const_reverse_iterator
typedef reverse_iterator<const_iterator>
const_reverse_iterator;
The type describes an object that can serve as a constant reverse iterator for the controlled
sequence.
vector::difference_type
typedef T3 difference_type;
The signed integer type describes an object that can represent the difference between the
addresses of any two elements in the controlled sequence. It is described here as a synonym for
the implementation-defined type T3.