Review of std.signal

Robert jfanatiker at gmx.at
Fri Nov 22 10:33:30 PST 2013


On Friday, 22 November 2013 at 18:20:37 UTC, ilya-stromberg wrote:
> Robert, please add 
> `RestrictedSignal(Args...).strongConnect(void function(Args) 
> dg)` method or at least add link to the 
> `std.functional.toDelegate` function.
> In current situation your example doesn't work (easy to fix via 
> toDelegate):
>
> Error: function phobosx.signal.RestrictedSignal!(string, 
> int).RestrictedSignal.strongConnect (void delegate(string, int) 
> dg) is not callable using argument types (void function(string, 
> int))

That's weird. It works in the unit test, I'll look into it. 
Thanks!


More information about the Digitalmars-d mailing list