Review of std.signal

Robert jfanatiker at gmx.at
Sat Jan 11 11:13:39 PST 2014


>>
>> This is really ugly, but I don't see any way to improve it 
>> either. Maybe
>> if the type of &classInstance.method was actually a special
>> "pointer-to-class-method" type that implicitly down-casted to a
>> delegate, it would be possible to safely use &o.watch 
>> instead...
>
> I agree. Is the only reason to have a weak connection?

Yes. Weak connections are the only reason.


More information about the Digitalmars-d mailing list