declaration/initialization of multidimensional arrays

bearophile bearophileHUGS at lycos.com
Sun Nov 18 18:29:10 PST 2012


Tyro[17]:

> Why not simply allow new double[N][3][M]; ?
> Seems a lot more intuitive/succinct than a separate []() 
> implementation.

I think with that there is some ambiguity regarding what 
coordinates are fixed-sized arrays and what dynamic arrays.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list