[libcxx-commits] [libcxx] [libcxx] extends test range types to take a value-type (PR #74672)

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Dec 14 19:26:30 PST 2023


================
@@ -15,6 +15,6 @@
 
 #include "test_range.h"
 
-static_assert(std::ranges::borrowed_range<std::ranges::ref_view<BorrowedRange>>);
+static_assert(std::ranges::borrowed_range<std::ranges::ref_view<BorrowedRange<>>>);
----------------
EricWF wrote:

I'm confused how this  compiled before? Cool.

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


More information about the libcxx-commits mailing list