auto arr = uninitializedArray!(int[][])(ROWS,COLS);
arr.each!"a[]=-1";

This looks like what I was looking for. At least I think I understand what's going on here. The other two suggestions are beyond my scope yet, but I'll come back, when I improved on my D skills. Thanks for your replies.

Reply via email to