Erase all the elements in this list for which the specified unary predicate returns true and return the number of erased elements.
Declared in <bslstl_list.h>
template<class PREDICATE>
list<VALUE, ALLOCATOR>::size_type
remove_if(PREDICATE predicate);