Steven Xia
Steven Xia
To quickly reproduce: https://gcc.godbolt.org/z/Mxbvv6Y1s (assertion-trunk) ```cpp #include #include template < typename... T > using variant_impl = std::tuple; template < typename... T > struct variant : public std::conditional_t< false, int, variant_impl...
To quickly reproduce: https://gcc.godbolt.org/z/ssGz6Yna8 (assertion-trunk) ```cpp #include // a different number such as 10995116277000 doesn't crash std::vector v(1099511627777, 0); ``` Compiling the above code crashes clang `clang++ -x c++ --std=c++20...