[libcxx-commits] [libcxx] [libc++] Make views::iota aware of __int128 (PR #167869)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Nov 17 07:56:43 PST 2025


================
@@ -106,7 +106,12 @@ void test() {
     // Same as below, if there is no type larger than long, we can just use that.
     static_assert(sizeof(Iter::difference_type) >= sizeof(long));
     static_assert(std::is_signed_v<Iter::difference_type>);
+#if !defined(TEST_HAS_NO_INT128)
----------------
ldionne wrote:

Can we switch the `#if` over to avoid a double-negative?

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


More information about the libcxx-commits mailing list