http://d.puremagic.com/issues/show_bug.cgi?id=9365
--- Comment #4 from Peter Alexander <[email protected]> 2013-06-09 23:35:09 PDT --- (In reply to comment #3) > Something like > > alias A(T) = B!(x, T); > > Is more likely and more flexible. See my use case, with your suggestions, this wouldn't work: alias equalRoR = equal!equal; An alternative suggestion, is to change how function templates are expanded. Currently we have: void foo(A, B)(A a, B b) expanding to template foo(A, B) { void foo(A a, B b); } If instead, it expanded to: template foo(A) { template foo(B) { void foo(A a, B b); } } Then foo!int becomes a valid, alias-able symbol, which would solve the problem as well. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
