http://d.puremagic.com/issues/show_bug.cgi?id=8441
--- Comment #15 from jfanati...@gmx.at 2013-07-09 22:43:28 PDT --- > Btw why are you using mixin templates instead of a struct? I know the current > std.signals uses it, but it's broken because people keep running into Issue > 5028. Instead is not quite correct, the mixin is just a wrapper around the FullSignal struct. Reasoning: So only containing object can emit signals. (emit is made private) It is just a convenience wrapper which implements a good default behaviour in just one line of code. (Make emit private) Otherwise you would have to instantiate a FullSignal as private and manually provide methods for accessing the RestrictedSignal for making connections. Not too much work, but a little annoying. You can of course use the struct directly if you want. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------