[libcxx-commits] [libcxx] [libc++][test] Refactor tests for rotate and rotate_copy (PR #126458)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Feb 19 10:14:28 PST 2025
================
@@ -74,7 +73,7 @@ constexpr void test(std::array<int, N> value, std::size_t middle, std::array<int
}
}
-template <class Iter, class OutIter, class Sent>
+template <class Iter, class OutIter, class Sent = Iter>
----------------
ldionne wrote:
```suggestion
template <class Iter, class OutIter, class Sent>
```
Let's specify it explicitly when we call this function from `test()` below, since we always use the default argument. Let's call it as
```
test_iterators<Iter, OutIter, Iter>();
```
https://github.com/llvm/llvm-project/pull/126458
More information about the libcxx-commits
mailing list