3 ms·
I just skimmed the paper since I should really get to bed, but: > We do not guarantee that all dereferences to deleted objects will throw an exception. What h
by saagarjha 8y ago
I just skimmed the paper since I should really get to bed, but:
> We do not guarantee that all dereferences to deleted objects will throw an exception.
What happens in the case where the dereference doesn’t throw an exception? Execution proceeds as if the dangling pointer pointed to the “zombie” object?
- v-yadli 8y agothe paper says that if the referenced object is not yet destroyed, the access is valid and the execution will proceed.