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

Function template erase
PrevUpHomeNext

Function template erase

boost::container::erase

Synopsis

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


template<typename T, typename A, typename U> 
  list< T, A >::size_type erase(list< T, A > & c, const U & v);

Description

Effects: Erases all elements that compare equal to v from the container c.

Complexity: Linear.


PrevUpHomeNext