C Erler wrote:
> On 28/05/06, Benjohn Barnes <benjohn / fysh.org> wrote:
>>
>> When I first came to Ruby, I'd been using C++'s Boost library, and
>> the smart pointer in that [1]. I noticed that Ruby didn't have a weak
>> pointer, and felt I'd find that a problem. I made a lot of use of
>> weak pointers in manager objects; they'd only manage something for as
>> long as other people made use of it. I've definitely not needed them
>> at all though, so maybe it's no big issue :)
>>
> 
> For anyone who needs weak references:
> http://www.ruby-doc.org/stdlib/libdoc/weakref/rdoc/index.html
> 

Aha.  This isn't what I was looking for, but I think it gets you the 
same functionality without the book keeping of reference counting.

Thanks,
Jeff