template type deduction of static 2d arrays

uri via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Oct 24 17:38:37 PDT 2014


On Saturday, 25 October 2014 at 00:00:54 UTC, ketmar via 
Digitalmars-d-learn >


> we have a nice PR from Kenji that allows the following 
> declarations:
>
>   int[$][$] a = [ [1,2],[3,4] ];
>
> but alas, it's not in the mainline yet.



This will be cool, especially auto[$][$] also works.

thanks,
uri


More information about the Digitalmars-d-learn mailing list