Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template erase_if

boost::container::erase_if

Synopsis

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


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

Description

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

Complexity: Linear.


PrevUpHomeNext