[Issue 15829] hasElaborateDestructor doesn't work for classes

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


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

--- Comment #3 from ZombineDev <petar.p.kirov at gmail.com> ---
But what about generic code that already (wrongly) relies on
hasElaborateDestructor (such as std.experimental.allocator)? Should we add
hasElaborateDestructor2 that handles both classes and structs and errors on
unions?

--


More information about the Digitalmars-d-bugs mailing list