Initialising multidimensional dynamic arrays
Steven Schveighoffer via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Sep 30 10:22:32 PDT 2014
On 9/30/14 12:40 PM, Mike James wrote:
> On Tuesday, 30 September 2014 at 16:07:28 UTC, ketmar via
> Digitalmars-d-learn wrote:
>> auto a = new int[][](42, 69);
...
>
> You'll notice that it's actually a dynamic array of structs containing
> dynamic arrays - does this change your initializing?
That is what his code does.
-Steve
More information about the Digitalmars-d-learn
mailing list