"The total size of a static array cannot exceed 16Mb."

Jarrett Billingsley kb3ctd2 at yahoo.com
Tue Oct 2 11:29:36 PDT 2007


"Janice Caron" <caron800 at googlemail.com> wrote in message 
news:mailman.362.1191349640.16939.digitalmars-d at puremagic.com...
> On 10/2/07, Jarrett Billingsley <kb3ctd2 at yahoo.com> wrote:
>> functionality of MakeMultiDimArray is already covered by array new-ing, 
>> i.e.
>> new int[][][](10, 20, 30).
>
> Ooh! I didn't know you could do that!
> Nice!

:)

Actually 'new int[5]' is exactly equivalent to 'new int[](5)' -- the former 
is sugar for the latter.  It's just most people are used to writing it like 
the latter. 





More information about the Digitalmars-d mailing list