Doubt - Static multidimension arrays
cym13 via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jan 18 18:54:03 PST 2016
On Tuesday, 19 January 2016 at 02:47:04 UTC, albert wrote:
> 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;
>
> ?
How is that not rectangular? It's sounds like you're confusing it
with "square".
More information about the Digitalmars-d-learn
mailing list