On 6/27/13, bearophile <[email protected]> wrote: > So is it a good idea to allow "auto" in the function signature > for the arguments that have a default value? > > void foo(in auto x = VeryLongNamedStruct(1)) {}
I've wanted this too once. Although there's a tradeoff here, now the user has to work more to figure out what type it can pass to the foo function. On the other hand it could be useful in non-public and generic code.
