C-like static array size inference - how?

forkit forkit at gmail.com
Wed Jun 8 01:17:27 UTC 2022


On Wednesday, 8 June 2022 at 01:11:45 UTC, Mike Parker wrote:
>
> ...The author withdrew the DIP ....
> ..

That's a shame.

Seems like a useful language feature. I'd be using it already if 
it existed.

I'd have gone for:

int[..] arr = [1,2,3];


More information about the Digitalmars-d-learn mailing list