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

Type Alloc::pointer is the same as Ty *.
Type Alloc::reference is the same as Ty&.
In this implementation, however, containers do not make such simplifying assumptions. Thus,
they work properly with allocator objects that are more ambitious:
All objects of class Alloc need not compare equal. (You can maintain multiple pools of
storage.)
Type Alloc::const_pointer need not be the same as const Ty *. (A const
pointer can be a class.)
Type Alloc::pointer need not be the same as Ty *. (A pointer can be a class.)
Container::begin
const_iterator begin() const;
iterator begin();
The member function returns an iterator that points at the first element of the sequence (or just
beyond the end of an empty sequence).
Container::clear
void clear();
The member function calls erase( begin(), end()).
Container::const_iterator
typedef T6 const_iterator;
The type describes an object that can serve as a constant iterator for the controlled sequence. It
is described here as a synonym for the unspecified type T6.
Container::const_reference
typedef T3 const_reference;
The type describes an object that can serve as a constant reference to an element of the
controlled sequence. It is described here as a synonym for the unspecified type T3 (typically
Alloc::const_reference).
Container::const_reverse_iterator
typedef T8 const_reverse_iterator;
The type describes an object that can serve as a constant reverse iterator for the controlled
sequence. It is described here as a synonym for the unspecified type T8 (typically