The return value for both of these algorithms is specified as
```
`{last, result - N}` for the overloads in namespace `ranges`.
```
But the current implementation instead returns `{first, result - N}`.
Also add both algorithms to the relevant "robust" tests.
Differential Revision: https://reviews.llvm.org/D130968
|
||
|---|---|---|
| .. | ||
| copy.pass.cpp | ||
| copy_backward.pass.cpp | ||
| copy_if.pass.cpp | ||
| copy_n.pass.cpp | ||
| ranges.copy.pass.cpp | ||
| ranges.copy_backward.pass.cpp | ||
| ranges.copy_if.pass.cpp | ||
| ranges.copy_n.pass.cpp | ||