[Issue 15829] hasElaborateDestructor doesn't work for classes

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Apr 5 04:39:14 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=15829

Nick Treleaven <ntrel-pub at mybtinternet.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ntrel-pub at mybtinternet.com

--- Comment #2 from Nick Treleaven <ntrel-pub at mybtinternet.com> ---
Just for the record, this is by design according to the docs.

It would be nice if hasElaborateDestructor didn't compile for reference types.
I don't know if the breakage is acceptable, but at least it would enforce
correct usage.

--


More information about the Digitalmars-d-bugs mailing list