3 ms·
Considering that unspecified behavior includes whether or not you execute the LHS of a binary operator before the RHS, such a mode would not be very useful. Ev
by jcranmer 2y ago
Considering that unspecified behavior includes whether or not you execute the LHS of a binary operator before the RHS, such a mode would not be very useful.
Even assuming you meant undefined behavior instead of unspecified behavior, it's still not a particularly practical prospect, for you basically prohibit any use of pointers (or memory access in general) whatsoever.