[libcxx-commits] [libcxx] [libc++][test] Refactor tests for ranges::swap_range algorithms (PR #121138)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Wed Feb 5 09:50:37 PST 2025


================
@@ -17,28 +17,37 @@
 #include <cassert>
----------------
ldionne wrote:

Above in the comment:

```
// template<Iterator Iter1, Iterator Iter2>
//   requires HasSwap<Iter1::reference, Iter2::reference>
// void iter_swap(Iter1 a, Iter2 b); // constexpr since C++20
```

https://github.com/llvm/llvm-project/pull/121138


More information about the libcxx-commits mailing list