Re: template specialization and template mixin
On 5/16/13, Jack Applegame wrote: > Why this doesn't compile? I think this is a bug.
template specialization and template mixin
This code compiles , as expected struct A { void func(string s : "foo")() { pragma(msg, "func for foo"); } void func(string s)() { pragma(msg, "func for others: " ~ s); } } void main() { A a; a.func!"foo"(); a.func!"bar"();