cpp/algorithm/remove copy

Copies elements from the range, to another range beginning at , omitting the elements which satisfy specific criteria.

@1@ Ignores all elements that are equal to. @3@ Ignores all elements for which predicate returns. @2,4@ Same as, but executed according to.

If source and destination ranges overlap, the behavior is undefined.

Return value
Iterator to the element past the last element copied.

Complexity
Given as : @1,2@ exactly comparisons with  using @3,4@ exactly applications of the predicate

For the overloads with an ExecutionPolicy, there may be a performance cost if 's is not.