[Issue 2497] delete and null relationship needs more details
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Dec 6 16:22:16 PST 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2497
smjg at iname.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |smjg at iname.com
OS/Version|Linux |All
------- Comment #1 from smjg at iname.com 2008-12-06 18:22 -------
1. Good question.
2. No, because do has no access to variable a. However, it were declared as
ref, it would.
It does say
"The pointer, dynamic array, or reference is set to null after the delete is
performed."
Notice the singular.
--
More information about the Digitalmars-d-bugs
mailing list