[libcxx-commits] [libcxx] [libc++][ranges] LWG3610: `iota_view::size` sometimes rejects integer-class types (PR #155169)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Thu Apr 2 20:45:57 PDT 2026


================
@@ -99,6 +104,16 @@ constexpr bool test() {
     assert(sz == 10);
   }
 
+  // LWG3610: `iota_view::size` sometimes rejects integer-class types
----------------
frederick-vs-ja wrote:

I'd like to move the comment above and make it a bit more detailed.
```suggestion
  // LWG3610: `iota_view::size` sometimes rejects integer-class types
  // libc++ does not have integer-class types, so the resolution only impacts uses with `bool`.
```

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


More information about the libcxx-commits mailing list