> struct A { A(int x) {} } Sorry ... I use C++ a lot at work. Should read: struct A { this(int x) {} } (Further, this code is based on the hypothesis that we may get struct ctors.)