Erase the elements for which pred is true and return how many. If pred throws, the elements already found are erased, the rest are kept, and the exception propagates.
pred
Declared in <cptr/list.hpp>
<cptr/list.hpp>
template<class Pred> size_type remove_if(Pred pred);