C-like static array size inference - how?
Mike Parker
aldacron at gmail.com
Wed Jun 8 01:11:45 UTC 2022
On Wednesday, 8 June 2022 at 00:43:24 UTC, Ali Çehreli wrote:
>
> Do I remember correctly that there were syntax proposals that
> used $ or _?
>
> int[$] arr = [ 1, 2 ];
> int[_] arr = [ 1, 2 ];
>
> But I can't find past discussions about that.
https://github.com/dlang/DIPs/blob/master/DIPs/other/DIP1039.md
Links to the discussion and feedback threads are in the review
summary. The author withdrew the DIP, so anyone who would like to
pick it up again is free to do so.
More information about the Digitalmars-d-learn
mailing list