void main(){ S s; } struct S( T = size_t ) { T buf; } > Error: struct temp.S(T = size_t) is used as a type difficult to understand because there is no relation of default Type, and difficult to notice rewriting S to S!size_t(work correctly). I think that DMD compiler should... use Template-Type-Parameter-Default and not return error (enh?bug?) or return error message about default value with above message (bug) or return error message easier (enh?bug?)
I received advice; " rewrite S to S!() " work correctly, since I will change state to trivial.