5 ms·
You can "obtain the address", whatever that means, but that does not mean it's well-defined behavior to change the data in said address.
by dooglius 6y ago
You can "obtain the address", whatever that means, but that does not mean it's well-defined behavior to change the data in said address.
- sanxiyn 6y agoThe whole point of OP's proposal is that it should be well-defined, because "pointers are easy". I am trying to demonstrate how absurd that is.
- dooglius 6y agoI think you are taking an overly strong reading, I highly doubt the author would say that writing to stack memory is reasonable unless the address has explicitly been taken with &x