Soft/weak references?

Myron Alexander someone at somewhere.com
Fri Jun 22 07:44:59 PDT 2007


Bill Baxter wrote:
> Look at the code in Phobos's std.signals for an example of how to use 
> the notifyRegister thing to implement weak references.
> 
> Note that this does not give you general purpose weak references.  It 
> will only work for class instances.  It will not give you weak 
> references to structs or arrays.
> 
> --bb

Thanks.

Myron.


More information about the Digitalmars-d-learn mailing list