Doubt - Static multidimension arrays

albert via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jan 18 18:47:04 PST 2016


Hello,

I was looking over 
http://dlang.org/spec/arrays.html#rectangular-arrays:

And I've found that D multidimensional arrays are Rectangular, so 
it's impossible to create non-rectangular multidimensional static 
array like:

int[2][5] arr;

?


More information about the Digitalmars-d-learn mailing list