Regarding the efforts of removing limitations from D, do you know if there are problems in implementing this oldish enhancement request?http://d.puremagic.com/issues/show_bug.cgi?id=4086
Should be absolutely feasible.
I'd also like to see this work:
struct X
{
int x;
this(int x) {this.x = x;}
}
void main(){
X x; // no ctor needed
X *xp = new X; // but this is an error!
}
-Steve
