cpp/algorithm/ranges/partition copy

@1@ Copies the elements from the input range to two different output ranges depending on the value returned by the predicate. The elements that satisfy the predicate after projection by  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 uses as the source range, as if using  as , and  as.

Return value
, where and  are the ends of the output ranges respectively, after the copying is complete.

Complexity
Exactly applications of the corresponding predicate  and any projection.