On Thursday, 20 October 2016 at 12:48:34 UTC, Satoshi wrote:
Hello, why ... cannot be used with structs?struct Foo { this(int a) { } } void bar(Foo foo...) { } bar(42);
Being explicit about these things makes complex code more clear.
Nordlöw via Digitalmars-d-learn Thu, 20 Oct 2016 09:06:34 -0700
On Thursday, 20 October 2016 at 12:48:34 UTC, Satoshi wrote:
Hello, why ... cannot be used with structs?struct Foo { this(int a) { } } void bar(Foo foo...) { } bar(42);
Being explicit about these things makes complex code more clear.