Home | Libraries | People | FAQ | More |
template<class ForwardRange, class Outputiterator, class UnaryPred> OutputIterator remove_copy_if(ForwardRange& rng, OutputIterator out, UnaryPred pred); template<class ForwardRange, class OutputIterator, class UnaryPred> OutputIterator remove_copy_if(const ForwardRange& rng, OutputIterator out, UnaryPred pred);
remove_copy_if
copied
all of the elements x
from rng
for which pred(x)
is false
.
Defined in the header file boost/range/algorithm/remove_copy_if.hpp
ForwardRange
is a
model of the Forward
Range Concept.
ForwardRange
is mutable.
UnaryPred
is a model
of the UnaryPredicateConcept
.
Linear. remove_copy_if
performs exactly distance(rng)
comparisons with UnaryPred.