""Why is this UB not caught during constexpr execution? #include <cstdint> consteval…
""Why is this UB not caught during constexpr execution? #include <cstdint> consteval std::int8t f(std::int8t value) { for(int i = 0; i < 1000; ++i) { value -= 1; } return value; } static_assert(f(0) == 24);""
1 turnen