You are free to use a C/C++ compiler that provides a switch where overflow leads either to an abitrary value (Rust semantics) or the wrap around (D code gen).
That's the whole point: use a language without UB and the situation will be better.
You are free to use a C/C++ compiler that provides a switch where overflow leads either to an abitrary value (Rust semantics) or the wrap around (D code gen).
That's the whole point: use a language without UB and the situation will be better.