| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
This patch makes swap functions constexpr. Both swap overloads, swap_ranges and iter_swap are updated (with tests). llvm-svn: 365238 | 6 年前 | |
[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 | 4 年前 | |
This patch makes swap functions constexpr. Both swap overloads, swap_ranges and iter_swap are updated (with tests). llvm-svn: 365238 | 6 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 6 年前 | ||
| 4 年前 | ||
| 6 年前 |