[Issue 9433] Deprecate delete

2016-06-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9433 Nick Treleaven changed: What|Removed |Added CC||ntrel-...@mybtinternet.com See Als

[Issue 9433] Deprecate delete

2017-11-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9433 Mike changed: What|Removed |Added CC||slavo5...@yahoo.com --- Comment #13 from Mike --- Pul

[Issue 9433] Deprecate delete

2018-02-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9433 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--

[Issue 9433] Deprecate delete

2018-02-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9433 --- Comment #14 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/f88ab395386b40f544c9f74ba768549c4fa9e66f Fix Issue 9433 - Deprecate delete https://github.com/dlang

[Issue 9433] Deprecate delete

2018-02-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9433 --- Comment #15 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dlang.org https://github.com/dlang/dlang.org/commit/3421e6a9904f11302719a50c033aceb68de0bf02 Fix Issue 9433 - Deprecate delete https

[Issue 9433] Deprecate delete

2018-02-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9433 --- Comment #16 from Steven Schveighoffer --- *** Issue 11949 has been marked as a duplicate of this issue. *** --

[Issue 9433] Deprecate delete

2013-01-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9433 FG changed: What|Removed |Added CC||h...@fgda.pl --- Comment #1 from FG 2013-01-31 0

[Issue 9433] Deprecate delete

2013-01-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9433 rswhi...@googlemail.com changed: What|Removed |Added CC||rswhi...@googlemail.com --- C

[Issue 9433] Deprecate delete

2013-01-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9433 Jonathan M Davis changed: What|Removed |Added CC||jmdavisp...@gmx.com --- Comment #3

[Issue 9433] Deprecate delete

2013-01-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9433 --- Comment #4 from rswhi...@googlemail.com 2013-01-31 08:29:13 PST --- But you have to admit: if there is "new", there should be "delete" also. Because it is the natural opposite. Even if it is "unsafe", the possibility to free even GC memory b

[Issue 9433] Deprecate delete

2013-01-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9433 Iain Buclaw changed: What|Removed |Added CC||ibuc...@ubuntu.com --- Comment #5 from I

[Issue 9433] Deprecate delete

2013-01-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9433 --- Comment #6 from rswhi...@googlemail.com 2013-01-31 08:44:46 PST --- (In reply to comment #5) > (In reply to comment #4) > > But you have to admit: if there is "new", there should be "delete" also. > > Because it is the natural opposite. > >

[Issue 9433] Deprecate delete

2013-01-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9433 --- Comment #8 from FG 2013-01-31 08:49:18 PST --- (In reply to comment #2) > Try this: [...] > I see no differences if I compare this and delete, except that "delete" looks > nicer. But I have not made a detailed test, like you did. Nice, ho

[Issue 9433] Deprecate delete

2013-01-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9433 --- Comment #7 from Jonathan M Davis 2013-01-31 08:45:41 PST --- > But you have to admit: if there is "new", there should be "delete" also. > Because it is the natural opposite. Except that new allocates GC memory, which is supposed to be man

[Issue 9433] Deprecate delete

2013-01-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9433 --- Comment #9 from rswhi...@googlemail.com 2013-01-31 08:57:26 PST --- > Except that new allocates GC memory, which is supposed to be managed by the > GC. > If you want to be managing memory yourself, you should use the tools intended > for do

[Issue 9433] Deprecate delete

2013-01-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9433 --- Comment #10 from Jonathan M Davis 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

[Issue 9433] Deprecate delete

2013-01-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9433 --- Comment #11 from bearophile_h...@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 sa

[Issue 9433] Deprecate delete

2013-01-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9433 --- Comment #12 from Jonathan M Davis 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 happ