On Thursday, 1 March 2018 at 21:34:41 UTC, Jonathan M Davis wrote:
Don't put the indices within the brackets. What you want is

auto arr = new int[][][](3, 2, 1);

Okay thanks, but I don't understand what is the issue with having static arrays there instead? My functionality didn't change when I replaced the single line with your line?

And I couldn't resize either of them with array.length, which is also something I would like.
Thanks


Reply via email to