Is the following well defined and allowed?

ag0aep6g anonymous at example.com
Thu Mar 1 16:48:47 UTC 2018


On 03/01/2018 04:34 PM, David Nadlinger wrote:
> 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

Does that mean it has undefined behavior and should not be allowed in 
@safe code?


More information about the Digitalmars-d mailing list