digitalmars.D.bugs - [Issue 12620] New: Compiler picks lesser template specialization
- via Digitalmars-d-bugs (26/26) Apr 22 2014 https://issues.dlang.org/show_bug.cgi?id=12620
https://issues.dlang.org/show_bug.cgi?id=12620 Issue ID: 12620 Summary: Compiler picks lesser template specialization match for float array alias value parameters Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: andrej.mitrovich gmail.com ----- template Foo(alias sym) { pragma(msg, "Foo1"); } template Foo(alias int[] sym) { pragma(msg, "Foo2"); } template Foo(alias float[] sym) { pragma(msg, "Foo3"); } void main() { } ----- --
Apr 22 2014