Why signed integer overflow in c++ is undefined rather than implementation-defined?

121 views Asked by At

From what I find on the net, signed integer overflow is undefined in c++ because we simply don't have only one representation for signed integers. But I can't understand why that doesn't make it implementation-defined where each implementation can itself provides a well-defined behavior for signed overflow based on its representation of signed integers.

0

There are 0 answers