Le 20/09/2012 00:12, Felix Hufnagel a écrit :
isn't it even worse?import std.stdio; struct S { int i; this(void* p = null){this.i = 5;} } void main() { //S l(); //gives a linker error auto k = S(); writeln(k.i); //prints 0 }
Last time I checked it, it was not working. No constructor was called.
