Hello, why ... cannot be used with structs? struct Foo { this(int a) { } }
void bar(Foo foo...) { } bar(42);
Satoshi via Digitalmars-d-learn Thu, 20 Oct 2016 05:51:24 -0700
Hello, why ... cannot be used with structs? struct Foo { this(int a) { } }
void bar(Foo foo...) { } bar(42);