On 4/17/13 4:31 AM, Piotr Szturmaj wrote:
W dniu 16.04.2013 17:22, Andrei Alexandrescu pisze:
There's a discussion that may be of interest to the larger community:
https://github.com/D-Programming-Language/dmd/pull/1877

On demand inference FTW!

void fn() auto {
...
}

auto fn() auto {
...
}


I think this is a bit much. Simplicity is a good commodity to allow oneself of, and absorbing two different meanings of 'auto' in the same construct is not simple.

Andrei

Reply via email to