Array literals are weird.

norm norm.rowtree at gmail.com
Tue May 4 02:08:13 UTC 2021


On Tuesday, 4 May 2021 at 01:59:48 UTC, norm wrote:
>
> ```d
> auto a[$] = [1,2,3];
> ```

gah! too much C not enough D lately; `auto[$] a = [1,2,3];`


More information about the Digitalmars-d mailing list