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

vector::empty
bool empty() const;
The member function returns true for an empty controlled sequence.
vector::end
const_iterator end() const;
iterator end();
The member function returns a random-access iterator that points just beyond the end of the
sequence.
vector::erase
iterator erase(iterator where);
iterator erase(iterator first, iterator last);
The first member function removes the element of the controlled sequence pointed to by
where. The second member function removes the elements of the controlled sequence in the
range [first, last). Both return an iterator that designates the first element remaining
beyond any elements removed, or end() if no such element exists.
Erasing N elements causes N destructor calls and an assignment for each of the elements
between the insertion point and the end of the sequence. No reallocation occurs, so iterators and
references become invalid only from the first element erased through the end of the sequence.
The member functions throw an exception only if a copy operation throws an exception.
vector::front
reference front();
const_reference front() const;
The member function returns a reference to the first element of the controlled sequence, which
must be non-empty.
vector::get_allocator
Alloc get_allocator() const;
The member function returns the stored allocator object.