[Issue 17448] Move semantics cause memory corruption and cryptic bugs

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun May 28 04:32:56 PDT 2017


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

--- Comment #1 from Tomer Filiba (weka) <tomer at weka.io> ---
I understand changing this might break backwards compatibility, but something
like a `pragma(dontmove);` in the struct is a must... that way it won't have
compiled, and we would pass it by ref instead of returning it from (several)
functions

--


More information about the Digitalmars-d-bugs mailing list