The function remove is used to remove elements with a specified value.
template<class ForwardIterator, class T> ForwardIterator remove (ForwardIterator first, ForwardIterator last,const T& value);
The end of the resulting range is returned.