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_copy remove_copy]
11 template<class ForwardRange, class Outputiterator, class Value>
13 remove_copy(ForwardRange& rng, OutputIterator out, const Value& val);
15 template<class ForwardRange, class OutputIterator, class Value>
17 remove_copy(const ForwardRange& rng, OutputIterator out, const Value& val);
22 `remove_copy` copied all of the elements `x` from `rng` for which `x == val` is `false`.
26 Defined in the header file `boost/range/algorithm/remove_copy.hpp`
28 [heading Requirements]
30 * `ForwardRange` is a model of the __forward_range__ Concept.
31 * `ForwardRange` is mutable.
32 * `Value` is a model of the `EqualityComparableConcept`.
33 * Objects of type `Value` can be compared for equality with objects of `ForwardRange`'s value type.
37 Linear. `remove_copy` performs exactly `distance(rng)` comparisons for equality.