[libcxx-commits] [libcxx] [libc++][test] Fix copy-paste damage in `ranges.rotate_copy.pass.cpp` (PR #74544)
Stephan T. Lavavej via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Dec 5 21:05:11 PST 2023
StephanTLavavej wrote:
Good idea - which I didn't even need to try, as extending the test coverage with `forward_iterator<int*>` revealed that the product code was also copy-pasted saying `bidirectional`:
https://github.com/llvm/llvm-project/blob/06c5c27e44757e4917f7d7c995720ae8a2d3b1f9/libcxx/include/__algorithm/ranges_rotate_copy.h#L35-L56
Let's see if I can fix this despite not being tooled up to work on libc++ product code.
https://github.com/llvm/llvm-project/pull/74544
More information about the libcxx-commits
mailing list