delete and MmFile
yebblies at nospamgmail.com
Sat Jan 28 19:33:54 PST 2012
"NewName" <b5353166 at nwldx.com> wrote in message
news:jg2du7$2nun$1 at digitalmars.com...
> Hello everybody.
> So I heard that `delete' is being deprecated?
When delete is gone, you will still be able to destroy class instances with
'clear' from phobos. Like delete, it runs the destructor on the class, it
just doesn't actually free the memory, it leaves it for the gc.
When the destructor is called the resources held by MmFile should be
More information about the Digitalmars-d-learn