new array without auto-initialization

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Thu Sep 26 15:14:22 PDT 2013


On 26/09/13 23:23, H. S. Teoh wrote:
> You mean:
>
> 	int[10] arr = void;

It's what I was thinking of, but does that also work with a dynamic array 
declaration?

     int[] arr = new int[n];


More information about the Digitalmars-d-learn mailing list