2 Copyright 2010 Neil Groves
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 [section:remove_erase_if remove_erase_if]
11 template<class Container, class Pred>
12 Container& remove_erase_if(Container& target,
18 `remove_erase_if` removes the elements `x` that satisfy `pred(x)` from the container.
19 This is in contrast to the `erase` algorithm which merely rearranges elements.
23 Defined in the header file `boost/range/algorithm_ext/erase.hpp`
25 [heading Requirements]
27 # `Container` supports erase of an iterator range.
28 # `Pred` is a model of the `Predicate` Concept.
32 Linear. Proportional to `distance(target)`s.