Prevent Garbage Collector

Jeroen Bollen jbinero at gmail.com
Sat Jan 4 16:17:11 PST 2014


Also a somewhat unrelated question, variables in D get 
initialized by default, do they also when you define them right 
after? Something like:

int[] iryy = new int[](50); // Will the array elements be 
initialized to 0?

foreach(int i; irry) {
     i = 20;
}


More information about the Digitalmars-d-learn mailing list