DMD 1.014 release

torhu fake at address.dude
Fri Apr 27 15:02:42 PDT 2007


renoX wrote:
> - array initialisation count elements for dynamic arrays but not for 
> array with fixed length.


I'm sure it's been suggested before, but would this work?

int[3] = [1, 2, 3];  // explicit length

int[$] = [1, 2, 3];  // compiler infers length



More information about the Digitalmars-d-announce mailing list