January 31, 2013 [Issue 9433] Deprecate delete | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=9433 --- Comment #10 from Jonathan M Davis <jmdavisProg@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: ------- |
January 31, 2013 [Issue 9433] Deprecate delete | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=9433 --- Comment #11 from bearophile_hugs@eml.cc 2013-01-31 10:10:24 PST --- (In reply to comment #7) > In fact, if they were to start over, they probably wouldn't have even had new (rather they would have had a library function which did the same thing), I leave the deprecation of "new" to another enhancement request ;-) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
February 01, 2013 [Issue 9433] Deprecate delete | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=9433 --- Comment #12 from Jonathan M Davis <jmdavisProg@gmx.com> 2013-01-31 18:58:15 PST --- > I leave the deprecation of "new" to another enhancement request ;-) LOL. Yeah, well, it would break far too much code for that change at this point, so it's not going to happen. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation