3 ms·
Wouldn't that make a compiler that emitted bounds checks violate the standard, since it would not be emitting the actual memory operations if you deref out of b
by charleslmunger 4mo ago
Wouldn't that make a compiler that emitted bounds checks violate the standard, since it would not be emitting the actual memory operations if you deref out of bounds?
- marcosdumay 4mo agoNo, because it's UB so there is no standard.
- charleslmunger 4mo agoIsn't the proposal from the parent comment to define the behavior?