Standard C++ Library Class Reference

Allocator
allocator
allocator_type get_allocator () const;
Returns a copy of the allocator used by self for storage management.
Iterators
iterator begin ();
Returns a random access iterator that points to the first element.
const_iterator begin () const;
Returns a constant random access iterator that points to the first element.
iterator end ();
Returns a random access iterator that points to the past-the-end value.
const_iterator end () const;
Returns a constant random access iterator that points to the past-the-end value.
reverse_iterator rbegin ();
Returns a random access reverse_iterator that points to the past-the-end value.
const_reverse_iterator rbegin () const;
Returns a constant random access reverse iterator that points to the past-the-end value.
reverse_iterator rend ();
Returns a random access reverse_iterator that points to the first element.
const_reverse_iterator rend () const;
Returns a constant random access reverse iterator that points to the first element.
Assignment Operator
deque<T, Allocator>&
operator= (const deque<T, Allocator>& x);
Erases all elements in self then inserts into self a copy of each element in x. Returns a
reference to self.
Reference Operators
reference operator[] (size_type n);
Returns a reference to element n of self. The result can be used as an lvalue. The index n