Is the following well defined and allowed?

David Nadlinger code at klickverbot.at
Thu Mar 1 15:34:50 UTC 2018


On Thursday, 1 March 2018 at 14:54:41 UTC, Shachar Shemesh wrote:
> I.e. - is it well defined to copy between overlapping slices?

No: https://dlang.org/spec/arrays.html#overlapping-copying

  —David


More information about the Digitalmars-d mailing list