Running out of memory
Jonathan M Davis
jmdavisProg at gmx.com
Thu Dec 27 06:49:50 PST 2012
On Thursday, December 27, 2012 15:31:45 bearophile wrote:
> delete is deprecated in D. There is destroy(), and a replacement
> for delete in the memory/GC module.
Indeed. But in this particular case, destroy would be of no help, as it
specifically destroys objects _without_ freeing their memory. And at the
moment, for strings, I don't believe that it's any different from setting them
to null.
- Jonathan M Davis
More information about the Digitalmars-d-learn
mailing list