[libcxx-commits] [libcxx] [libc++][ranges] Ensure range access CPOs are provided in `<iterator>` (PR #151745)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Tue Aug 5 00:46:42 PDT 2025


================
@@ -81,6 +81,10 @@ static_assert(test(std::ranges::rend, a));
 static_assert(test(std::ranges::size, a));
 static_assert(test(std::ranges::ssize, a));
 
+#if TEST_STD_VER >= 26
+// static_assert(test(std::views::reserve_hint, a));
+#endif
+
----------------
philnik777 wrote:

Unrelated change?

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


More information about the libcxx-commits mailing list