[Issue 9433] Deprecate delete

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 31 09:03:23 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9433



--- Comment #10 from Jonathan M Davis <jmdavisProg at gmx.com> 2013-01-31 09:03:21 PST ---
> But GC.free does not calls any DTors. That is the problem. Therefore we need
> something like "destruct".

So, you call destroy before you call GC.free. It's not _supposed_ to be easy,
because you're not supposed to be doing it. It's just supposed to be possible
for the rare cases where it's actually needed.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list