1[/ 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) 5/] 6[section:remove_copy remove_copy] 7 8[heading Prototype] 9 10`` 11template<class ForwardRange, class Outputiterator, class Value> 12OutputIterator 13remove_copy(ForwardRange& rng, OutputIterator out, const Value& val); 14 15template<class ForwardRange, class OutputIterator, class Value> 16OutputIterator 17remove_copy(const ForwardRange& rng, OutputIterator out, const Value& val); 18`` 19 20[heading Description] 21 22`remove_copy` copied all of the elements `x` from `rng` for which `x == val` is `false`. 23 24[heading Definition] 25 26Defined in the header file `boost/range/algorithm/remove_copy.hpp` 27 28[heading Requirements] 29 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. 34 35[heading Complexity] 36 37Linear. `remove_copy` performs exactly `distance(rng)` comparisons for equality. 38 39[endsect] 40