cpp/algorithm/partition copy

@1@ Copies the elements from the range to two different ranges depending on the value returned by the predicate. The elements that satisfy the predicate are copied to the range beginning at. The rest of the elements are copied to the range beginning at. @@The behavior is undefined if the input range overlaps either of the output ranges.

@2@ Same as, but executed according to.

Return value
A constructed from the iterator to the end of the  range and the iterator to the end of the  range.

Complexity
Exactly applications of.

For the overload with an ExecutionPolicy, there may be a performance cost if ForwardIt's value type is not.