Keeping a list of instances and garbage-collection
Jarrett Billingsley
jarrett.billingsley at gmail.com
Sun Mar 29 14:34:23 PDT 2009
On Sun, Mar 29, 2009 at 4:42 PM, Leandro Lucarella <llucax at gmail.com> wrote:
>
> This was discussed several times in the past. For example:
> http://www.digitalmars.com/d/archives/digitalmars/D/learn/weak_references_13301.html
> http://www.digitalmars.com/d/archives/digitalmars/D/learn/Soft_weak_references_8264.html
> http://www.digitalmars.com/d/archives/digitalmars/D/announce/ANN_WeakObjectReference_-_class_to_hold_weak_references_9103.html
> etc.
>
> I hope it helps.
The one provided by Bill:
http://www.dsource.org/projects/scrapple/browser/trunk/weakref
seems to work fine, and has the advantage of working in both Phobos and Tango.
More information about the Digitalmars-d
mailing list