no-arg constructor for structs (again)
David
d at dav1d.de
Thu Sep 20 02:23:41 PDT 2012
The only thing I really miss is:
class Foo {}
struct Bar {
Foo foo = new Foo();
}
void main() {
Bar s = Bar();
assert(s.foo !is null);
}
More information about the Digitalmars-d
mailing list