digitalmars.D.learn - Maybe a dmd bug, what do you think ?
- user123456789abcABC (13/13) Nov 06 2015 Template parameter deduction in partially specialized template
- rsw0x (3/16) Nov 06 2015 I believe this is https://issues.dlang.org/show_bug.cgi?id=1807
Template parameter deduction in partially specialized template fails: --- enum Bar{b,a,r} void foo(Bar bar, T)(T t){} alias foob(T) = foo!(Bar.b, T); void main() { foo!(Bar.b)(8); foob(8); // autsch } --- It looks like a bug, doesn't it ?
Nov 06 2015
On Friday, 6 November 2015 at 08:48:38 UTC, user123456789abcABC wrote:Template parameter deduction in partially specialized template fails: --- enum Bar{b,a,r} void foo(Bar bar, T)(T t){} alias foob(T) = foo!(Bar.b, T); void main() { foo!(Bar.b)(8); foob(8); // autsch } --- It looks like a bug, doesn't it ?I believe this is https://issues.dlang.org/show_bug.cgi?id=1807
Nov 06 2015