Typesafe variadic argument taking struct
Satoshi via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Oct 20 05:48:34 PDT 2016
Hello,
why ... cannot be used with structs?
struct Foo {
this(int a) { }
}
void bar(Foo foo...) {
}
bar(42);
More information about the Digitalmars-d-learn
mailing list