Allow auto in function parameters with default arguments?

Artur Skawina art.08.09 at gmail.com
Tue Sep 11 00:55:20 PDT 2012


On 09/11/12 08:21, Mehrdad wrote:
> http://forum.dlang.org/thread/is9jmn$2ia5$1@digitalmars.com

Completely different issue. That one is about syntax sugar for template
functions, while this one would just save the programmer some typing when
declaring "normal" functions (by propagating the type of the default
argument expression, which would make it possible to skip the redundant
'typeof(expr)' part).

artur


More information about the Digitalmars-d mailing list