signal slots (new, fixed version)
Lutger
lutger.blijdestijn at gmail.com
Wed Nov 1 05:58:51 PST 2006
Thomas Kuehne wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Kristian schrieb am 2006-11-01:
>> Or if there were 'local object members' for classes, just like in C++. For
>> example:
>>
>> class Foo {
>> Bar m_obj; //automatically constructed & destroyed with 'Foo'
>> };
>
> 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
>
> Thomas
>
>
> -----BEGIN PGP SIGNATURE-----
>
> iD8DBQFFSKq/LK5blCcjpWoRAv0VAJ4hvZtQo+wZR64qRsgqlJVs29ZsSQCfe1Dt
> Z9/vZzgRPHl79zJzViJIkMU=
> =9HhU
> -----END PGP SIGNATURE-----
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.
I'll update the thing soon with some minor improvements and then start
yet another rewrite / refactoring round.
More information about the Digitalmars-d-announce
mailing list