[Issue 14466] destructive move

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Oct 9 11:07:45 PDT 2016


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

--- Comment #2 from Martin Nowak <code at dawg.eu> ---
DMD internally uses a storage class flag (STCnodtor) for a similar purpose.
So an @unsafe __nodtor(var) intrinsic to instruct the compiler to not destruct
a variable could hopefully just set this flag.

--


More information about the Digitalmars-d-bugs mailing list