Y
Hacker News
new
|
ask
|
show
|
jobs
by
charleslmunger
31 days 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?
1 comments
marcosdumay
31 days ago
No, because it's UB so there is no standard.
link
charleslmunger
31 days ago
Isn't the proposal from the parent comment to define the behavior?
link