[Issue 16166] struct constructor and AliasSeq
https://issues.dlang.org/show_bug.cgi?id=16166 Iain Buclaw changed: What|Removed |Added Priority|P1 |P4 --
[Issue 16166] struct constructor and AliasSeq
https://issues.dlang.org/show_bug.cgi?id=16166 --- Comment #2 from Danila Letunovskiy--- struct Window { string title; int x, y; int w, h; alias title this; } void main(){ Window w = "Foo"; } --
[Issue 16166] struct constructor and AliasSeq
https://issues.dlang.org/show_bug.cgi?id=16166 --- Comment #1 from Danila Letunovskiy--- this(T...)(T t){ this.tupleof[0..t.length] = t; } I want that this work by default. --