No dynamic Arrays in Struct?

Manfred Nowak svv1999 at hotmail.com
Fri Feb 9 23:48:55 PST 2007


void main(){
  struct S{
    int[] map;
    map.length= 1000; // error: no identifier for declarator map.length
  } S s;
}

-manfred


More information about the Digitalmars-d-learn mailing list