Dense multidimensional std.container.array?

2016-01-26 Thread Wilson via Digitalmars-d-learn
Just wondering how to create a dense multidimensional array with the GC free array container? I don't want to use an array of arrays but I do want the array[0][0] notation.

Re: Dense multidimensional std.container.array?

2016-01-26 Thread ZombineDev via Digitalmars-d-learn
On Tuesday, 26 January 2016 at 14:55:53 UTC, Wilson wrote: Just wondering how to create a dense multidimensional array with the GC free array container? I don't want to use an array of arrays but I do want the array[0][0] notation. I suggest using std.experimental.ndslice [1] for

Re: Dense multidimensional std.container.array?

2016-01-26 Thread jmh530 via Digitalmars-d-learn
On Tuesday, 26 January 2016 at 18:07:40 UTC, ZombineDev wrote: [snip] Cool example.