Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template erase_if

boost::container::erase_if

Synopsis

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


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

Description

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

Complexity: Linear.


PrevUpHomeNext