boost::container::erase_if
// In header: <boost/container/segtor.hpp> template<typename T, typename A, typename O, typename Pred> segtor< T, A, O >::size_type erase_if(segtor< T, A, O > & c, Pred pred);
Effects: Erases all elements that satisfy the predicate pred from the container c.
Complexity: Linear.