bsl::list::remove_if

Erase all the elements in this list for which the specified unary predicate returns true and return the number of erased elements.

Synopsis

Declared in <bslstl_list.h>

template<class PREDICATE>
list<VALUE, ALLOCATOR>::size_type
remove_if(PREDICATE predicate);