std.signals regressions

Johannes Pfau nospam at example.com
Sun Jul 14 01:26:11 PDT 2013


Am Sat, 13 Jul 2013 22:37:45 +0200
schrieb "Robert" <jfanatiker at gmx.at>:

> 
> > But one comment though: Do you really need string mixins? I 
> > think
> > "Signal!int mysignal;" is a much nicer syntax in D than using
> 
> I agree and you don't need the string mixin, it is just for 
> convenience. The signal itself is a struct. But what was 
> important to me was that one can easily restrict emitting the 
> signal to the containing class.

Now that you mention it I also remember that issue. That's a good
reason to use the string/template mixin, although for me clearer syntax
had higher priority.


More information about the Digitalmars-d mailing list