Array Copying syntax
Antonio Corbi via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Sep 16 11:28:06 PDT 2016
On Friday, 16 September 2016 at 18:12:22 UTC, Steven
Schveighoffer wrote:
> 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
Hi Steve,
Way clearer (at least for me) with your patch!
Thanks,
Antonio
More information about the Digitalmars-d-learn
mailing list