Array Copying syntax
Steven Schveighoffer via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Sep 16 11:12:22 PDT 2016
On 9/16/16 2:03 PM, Antonio Corbi wrote:
> Hi Jonathan!
>
> Probably this entry in https://dlang.org/spec/arrays.html#usage confused
> me a bit.
>
> int[3] s;
> ....
> s = ...; // error, since s is a compiled in static
> // reference to an array.
>
> Thanks for your help!
> Antonio
Yeah, that's bad.
https://github.com/dlang/dlang.org/pull/1474
-Steve
More information about the Digitalmars-d-learn
mailing list