Sometimes I have code like this:
struct VeryLongNamedStruct {}
void foo(in VeryLongNamedStruct x = VeryLongNamedStruct(1)) {}
void main() {}
Or even:
void bar(in TupleFoo x = TupleFoo(TupleBar(2), TupleSpam(3))) {}
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)) {}
Bye,
bearophile
