[Issue 15315] can break immutable with std.algorithm.move
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Apr 24 15:48:38 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=15315
Andrei Alexandrescu <andrei at erdani.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrei at erdani.com
--- Comment #1 from Andrei Alexandrescu <andrei at erdani.com> ---
This should pass regardless of safe. The move function should simply copy the
integer without overwriting it. This is because int does not have an elaborate
postblit so it is cheap to copy.
--
More information about the Digitalmars-d-bugs
mailing list