On 21/10/2016 1:48 AM, Satoshi wrote:
Hello, why ... cannot be used with structs?struct Foo { this(int a) { } } void bar(Foo foo...) { } bar(42);
Because an int is not a Foo.
rikki cattermole via Digitalmars-d-learn Thu, 20 Oct 2016 05:56:16 -0700
On 21/10/2016 1:48 AM, Satoshi wrote:
Hello, why ... cannot be used with structs?struct Foo { this(int a) { } } void bar(Foo foo...) { } bar(42);
Because an int is not a Foo.