remove

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);
  
Remarks

The end of the resulting range is returned.