Erase an element preserving order.
iterator stable_erase( const_iterator pos);
Remove the element pointed to by
which must be valid and dereferenceable. References and iterators from
both included, are invalidated. Other iterators and references are not
invalidated. The relative order of remaining elements is preserved.
end() iterator (which is valid but
cannot be dereferenced) cannot be used as a value for
An iterator following the removed element.
An iterator pointing to the element to be removed.