[Issue 2497] delete and null relationship needs more details
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Dec 6 21:23:43 PST 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2497
------- Comment #4 from jlquinn at optonline.net 2008-12-06 23:23 -------
(In reply to comment #3)
> It's undefined. Comparing to Java doesn't make much sense here, since the only
> way an object can go away in Java is if no references refer to it, so there's
> no way to have a reference to an object that has been collected.
Fair enough. It would be useful to note that accessing a deleted class through
the reference is undefined. Otherwise it might leave others guessing.
--
More information about the Digitalmars-d-bugs
mailing list