On 3/17/13, Peter Alexander <[email protected]> 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
