On 2014-01-05 01:17, Jeroen Bollen wrote:
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?
Yes, have a look at: http://dlang.org/arrays.html#array-initialization This example verifies the behavior: int[] iryy = new int[](50); assert(iryy[3] == 0); -- /Jacob Carlborg
