cpp/algorithm/ranges/remove copy

Copies elements from the source range, to the destination range beginning at , omitting the elements which (after being projected by ) satisfy specific criteria. The behavior is undefined if the source and destination ranges overlap.

@1@ Ignores all elements that are equal to.

@3@ Ignores all elements for which predicate returns.

@2,4@ Same as, but uses as the source range, as if using  as , and  as.

Return value
, where is the number of elements copied.

Complexity
Exactly applications of the corresponding predicate  and any projection.