[Issue 8441] mixin containing template functions causes compiler errors
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jan 18 08:15:55 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=8441
--- Comment #4 from monarchdodra at gmail.com 2013-01-18 08:15:53 PST ---
(In reply to comment #3)
> Ah, I see: So the issue is that template overloads don't work.
In the context of template mixins with mixinIdentifiers only. Template
overloads, as a general rule, do work.
> Thanks for
> investigating this!
>
> Unfortunately it does not really help for std.signals2, because renaming the
> methods to connectDirectly, connectViaDelegate, .... seems rather ugly,
> although I don't think it is a good idea to alter a public API because of
> workarounds. I would be fine, if it only affected private parts.
Technically, I didn't rename anything. I merelly added some extra functions to
remove the ambiguity in the context of the mixin identifier.
Yes, it is ugly, but the public interface is intact.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list