On Thursday, 26 September 2013 at 22:14:27 UTC, Joseph Rushton Wakeling wrote:
It's what I was thinking of, but does that also work with a dynamic array declaration?

    int[] arr = new int[n];

Check out std.array.uninitializedArray.

Matej

Reply via email to