static array with inferred size

Ilya ilyayaroshenko at gmail.com
Wed Sep 20 06:21:02 UTC 2017


On Wednesday, 20 September 2017 at 00:47:25 UTC, Steven 
Schveighoffer wrote:
> This needs to happen.
>
> e.g.:
>
> char[$] arr = "hello"; // syntax up for debate, but I like this.
>

Yes, hope to see this one day as a language feature, not a 
library solution. --Ilya


More information about the Digitalmars-d mailing list