static property without return type
Andrej Mitrovic
andrej.mitrovich at gmail.com
Sun Mar 17 11:48:21 PDT 2013
On 3/17/13, Peter Alexander <peter.alexander.au at gmail.com> wrote:
> auto in D actually just means "I don't want to use any other storage class"
>From the user's perspective auto means more:
int x;
ref refRet() { return x; } // ok
ref refRet() { return 1; } // disallowed
auto ref autoRet() { return x; } // ok
auto ref autoRet() { return 1; } // ok
More information about the Digitalmars-d
mailing list