Would like to see ref and out required for function calls
Namespace
rswhite4 at googlemail.com
Thu Sep 13 03:58:50 PDT 2012
In D:
class A { // or struct
A(ref int host) : _host(&host) { }
private:
int* _host;
}
Since when do we have initialization lists in D? ;)
at topic: +1
More information about the Digitalmars-d
mailing list