[Issue 13059] Delete uses destructor rather than the delete operator
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Jul 6 13:13:16 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13059
bearophile_hugs at eml.cc changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bearophile_hugs at eml.cc
--- Comment #1 from bearophile_hugs at eml.cc ---
(In reply to Orvid King from comment #0)
> if you define a destructor on a struct, allocate an instance of that
> struct on the heap, and then attempt to use the delete keyword to
The delete keyword is deprecated, don't use it.
--
More information about the Digitalmars-d-bugs
mailing list