On 04/24/2017 08:48 PM, Stanislav Blinov wrote:
Speaking of const violation and UB, std.algorithm.mutation.move seems to violate const without remorse:
Yup. Even in @safe code, which is a bug. https://issues.dlang.org/show_bug.cgi?id=15315
On 04/24/2017 08:48 PM, Stanislav Blinov wrote:
Speaking of const violation and UB, std.algorithm.mutation.move seems to violate const without remorse:
Yup. Even in @safe code, which is a bug. https://issues.dlang.org/show_bug.cgi?id=15315