This may have been discussed before, but I'm not sure whether this is a bug or not. In any case it's a bit confusing.
struct Foo2{ this(T...)(T args){ assert(0); } } void main(){ auto a2=Foo2();//doesn't call assert(0) (ie this(T...) not called) }
This may have been discussed before, but I'm not sure whether this is a bug or not. In any case it's a bit confusing.
struct Foo2{ this(T...)(T args){ assert(0); } } void main(){ auto a2=Foo2();//doesn't call assert(0) (ie this(T...) not called) }