| Home | Libraries | People | FAQ | More

## Function template erase_if

boost::container::erase_if

## Synopsis

    // 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);

## Description

Effects: Erases all elements that satisfy the predicate pred from the container c.

Complexity: Linear.