It’s a well-intentioned proposal, but I think C++ is pretty strict about backwards compatibility. I doubt it will be accepted.
Somewhat surprisingly, both C and C++ standards committee accepted the proposal. Source: https://twitter.com/jfbastien/status/989242576598327296
Whoa. That is pretty crazy. Interesting! So overflow will no longer UB?
Well, scroll up a bit… The accepted proposal is that representation is defined to be two’s complement, but overflow is still UB.
:|
It’s a well-intentioned proposal, but I think C++ is pretty strict about backwards compatibility. I doubt it will be accepted.
Somewhat surprisingly, both C and C++ standards committee accepted the proposal. Source: https://twitter.com/jfbastien/status/989242576598327296
Whoa. That is pretty crazy. Interesting! So overflow will no longer UB?
Well, scroll up a bit… The accepted proposal is that representation is defined to be two’s complement, but overflow is still UB.
:|