TTom Stellard[libc++][ranges] Implement ranges::rotate.
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[libc++][ranges] Fix the return value of {copy,move}_backward. 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 (cherry picked from commit f537a01d3989d37aafc050a92c74e69d35381f8c) | 3 年前 | |
[libc++] Implement ranges::fill{, _n} Reviewed By: var-const, #libc Spies: libcxx-commits, mgorny Differential Revision: https://reviews.llvm.org/D123462 | 4 年前 | |
[libc++][ranges] Implement ranges::generate{,_n}. Differential Revision: https://reviews.llvm.org/D130552 | 3 年前 | |
[libc++][ranges] Fix the return value of {copy,move}_backward. 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 (cherry picked from commit f537a01d3989d37aafc050a92c74e69d35381f8c) | 3 年前 | |
[libc++][ranges] Implement std::ranges::partition_{point,copy}. Reviewed By: #libc, huixie90, ldionne Differential Revision: https://reviews.llvm.org/D130070 | 3 年前 | |
[libc++][ranges] Implement ranges::sample. Differential Revision: https://reviews.llvm.org/D130865 (cherry picked from commit 6bdb64223473585f783572c9fbf0673b4b324a35) | 3 年前 | |
[libc++][ranges] Implement ranges::shuffle. Differential Revision: https://reviews.llvm.org/D130321 | 3 年前 | |
[libc++][ranges] Implement ranges::remove_copy{, _if}. Co-authored-by: Hui Xie <hui.xie1990@gmail.com> Differential Revision: https://reviews.llvm.org/D130599 (cherry picked from commit 760d2b462c04537d119d76d3cc37d2cb53774a05) | 3 年前 | |
[libc++][ranges] Implement ranges::replace_copy{,_if}. Co-authored-by: Konstantin Varlamov <varconst@apple.com> Differential Revision: https://reviews.llvm.org/D129806 (cherry picked from commit 93172c1c2b10066628c85c9ff78eb882222fb304) | 3 年前 | |
[libc++] Implement ranges::{reverse, rotate}_copy Reviewed By: var-const, #libc Spies: huixie90, libcxx-commits, mgorny Differential Revision: https://reviews.llvm.org/D127211 | 3 年前 | |
[libc++][ranges] Implement ranges::rotate. Also fix ranges::stable_sort and ranges::inplace_merge to support proxy iterators now that their internal implementations can correctly dispatch rotate. Differential Revision: https://reviews.llvm.org/D130758 (cherry picked from commit 36c746ca2d5b325a7ac64135c1ff8774c06ab34c) | 3 年前 | |
[libc++] Implement [P0769] "Add shift to algorithm" (shift_left, shift_right) I believe this is a complete implementation of std::shift_left and std::shift_right from http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0769r2.pdf Some test cases copied-with-modification from D60027. Differential Revision: https://reviews.llvm.org/D93819 | 5 年前 | |
[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 | 3 年前 | |
Revert "[libc++][test] Mark ranges.transform.pass.cpp UNSUPPORTED for AIX" This reverts commit 3583826bb52a7f129b55df043e29860aeab9906d. Instead of marking the test unsupported for AIX, the choice is to bump the timeout for CI as done in 76c7e1f2a8820b057de1a241422294bf25fdea2d and 222bd83d505728fca2bbe16cef8b93c321dd8c13 Differential Revision: https://reviews.llvm.org/D127242 | 4 年前 | |
[libc++][ranges] implement std::ranges::unique{_copy} implement std::ranges::unique and std::ranges::unique_copy Differential Revision: https://reviews.llvm.org/D130404 (cherry picked from commit 72f57e3a30d597346feec74cf626796b0055680f) | 3 年前 |