[Issue 19365] Allow aliasing templated functions from mixin template to add them to overload set

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Dec 7 18:17:59 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=19365

--- Comment #3 from Dennis <dkorpel at live.nl> ---
(In reply to Adam D. Ruppe from comment #1)
> So that *might* be a bug, it isn't merging specialized templates... I was
> going to close this immediately, but maybe this specific thing is legit.

I also noticed that it matters whether you put the alias before or after the
new opBinary method. 

Anyway, I'll change this to an enhancement, thanks for the workaround. (I
happily replace the ugly string mixin with a dispatcher function.)

--


More information about the Digitalmars-d-bugs mailing list