Boost logo

Boost :

From: Mark Rodgers (mark.rodgers_at_[hidden])
Date: 2002-05-03 15:47:43


From: "Mark Rodgers" <mark.rodgers_at_[hidden]>
> I do need to break cycles, but when I do, I normally just use a plain
> pointer. How is a weak_ptr better?

Scratch that - I've suddenly seen the light. It's not for the
situations where I store a plain pointer; it's for the situations where
I don't store a pointer at all. Hmmm, maybe it is useful after all.
I thought it probably was.... ;-)

Mark


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk