signal slots (new, fixed version)

Thomas Kuehne thomas-dloop at kuehne.cn
Wed Nov 1 05:13:57 PST 2006


-----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-----



More information about the Digitalmars-d-announce mailing list