Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template erase_if

boost::container::erase_if

Synopsis

// In header: <boost/container/set.hpp>


template<typename K, typename C, typename A, typename O, typename Pred> 
  multiset< K, C, A, O >::size_type 
  erase_if(multiset< K, C, A, O > & c, Pred pred);

Description

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

Complexity: Linear.


PrevUpHomeNext