multi-dimensional array whole slicing

XavierAP via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Apr 22 13:51:46 PDT 2017


I can do:

int[3] arr = void;
arr[] = 1;

But apparently I can't do:

int[3][4] arr = void;
arr[][] = 1;

What is the best way? What am I missing?


More information about the Digitalmars-d-learn mailing list