list::remove_if

void remove_if(binder2nd<not_equal_to<T> > pr);

The member function removes from the controlled sequence all elements, designated by the iterator P, for which pr(*P) is true.

In this implementation, if a translator does not support member template functions, the template:

templace<class Pred>
    void remove_if(Pred pr);

is replaced by:

>void remove_if(binder2nd< not_equal_to<T> > pr);