cptr::detail::basic_list::remove_if

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.

Synopsis

Declared in <cptr/list.hpp>

template<class Pred>
size_type
remove_if(Pred pred);