remove_if

Removes all element for which the predicate is true.

  template <class Predicate> 
  void remove_if(Predicate pred);