Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::container::erase_if
// In header: <boost/container/string.hpp> template<typename T, typename Tr, typename A, typename Pred> basic_string< T, Tr, A >::size_type erase_if(basic_string< T, Tr, A > & c, Pred pred);