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

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jun 2 23:53:08 PDT 2017


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

--- Comment #18 from Walter Bright <bugzilla at digitalmars.com> ---
(In reply to Walter Bright from comment #17)
> Another case:
> 
> https://github.com/dlang/dmd/pull/6852

Also:

https://github.com/dlang/dmd/pull/6849
https://github.com/dlang/dmd/pull/6847

The three of them eliminates the moving in this test case. I know it is not
what you're asking for, but it is a worthwhile optimization.

--


More information about the Digitalmars-d-bugs mailing list