llvm-project/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy
Hui Xie a81cc1fc07 [libcxx][ranges] Create a test tool `ProxyIterator` that customises `iter_move` and `iter_swap`
It is meant to be used in ranges algorithm tests.
It is much simplified version of C++23's tuple + zip_view.
Using std::swap would cause compilation failure and using `std::move` would not create the correct rvalue proxy which would result in copies.

Differential Revision: https://reviews.llvm.org/D129099
2022-07-08 00:00:21 +01:00
..
copy.pass.cpp [libc++][NFC] Use cpp17_output_iterator in tests. 2022-02-04 08:01:20 +01:00
copy_backward.pass.cpp [libc++] Remove test-suite annotations for unsupported Clang versions 2021-08-20 15:05:13 -04:00
copy_if.pass.cpp [libc++][NFC] Use cpp17_output_iterator in tests. 2022-02-04 08:01:20 +01:00
copy_n.pass.cpp [libc++][NFC] Use cpp17_output_iterator in tests. 2022-02-04 08:01:20 +01:00
ranges.copy.pass.cpp [libcxx][ranges] Create a test tool `ProxyIterator` that customises `iter_move` and `iter_swap` 2022-07-08 00:00:21 +01:00
ranges.copy_backward.pass.cpp [libcxx][ranges] Create a test tool `ProxyIterator` that customises `iter_move` and `iter_swap` 2022-07-08 00:00:21 +01:00
ranges.copy_if.pass.cpp [libcxx][ranges] Create a test tool `ProxyIterator` that customises `iter_move` and `iter_swap` 2022-07-08 00:00:21 +01:00
ranges.copy_n.pass.cpp [libcxx][ranges] Create a test tool `ProxyIterator` that customises `iter_move` and `iter_swap` 2022-07-08 00:00:21 +01:00