signal slots (new, fixed version)

Lutger lutger.blijdestijn at gmail.com
Wed Nov 1 15:19:25 PST 2006


Walter Bright wrote:
> Sean Kelly wrote:
>> Lutger wrote:
>>> Thomas Kuehne wrote:
>>>> How about Object.notifyRegister and Object.notifyUnRegister? sample 
>>>> use:
>>>> http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.learn&artnum=5016 
>>>
>>> Oh crap I wish I knew about this undocumented feature before. Thank 
>>> you this could be very useful, at least until weak references are 
>>> part of the language.
>>
>> It was added in DMD 170-172, so it hasn't been around for long.
> 
> It was added to support signals and slots, which will be in the next 
> update. The whole thing then becomes almost trivial (!)

Now that is great! Didn't expect this so soon, I'll wait until then to 
see if this lib is still relevant.
Some very useful features are getting into D lately, especially for 
library development.



More information about the Digitalmars-d-announce mailing list