[libcxx-commits] [libcxx] [libc++][ranges] P3059R2: Making user-defined constructors of view iterators/sentinels private (PR #193891)

Hristo Hristov via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 21 23:18:17 PDT 2026


================
@@ -82,7 +81,10 @@ constexpr bool test() {
     using MoveOnlyElemIter =
         std::ranges::iterator_t<std::ranges::elements_view<std::ranges::subrange<MoveOnlyIter, Sent>, 0>>;
 
----------------
Zingam wrote:

> I think adding `static_assert`'s should be in the scope of this PR. I'm not familiar with stacked PRs, though.

Done

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


More information about the libcxx-commits mailing list