|
Boost : |
From: Mark Rodgers (mark.rodgers_at_[hidden])
Date: 2002-05-03 15:35:39
From: "Peter Dimov" <pdimov_at_[hidden]>
> From: "Mark Rodgers" <mark.rodgers_at_[hidden]>
> > Oh, one more thing - I don't care too much for weak_ptr. I think
> > the overhead doesn't reflect its (lack of) usefulness. But maybe I
> > just need to be educated on how to use it... ;-)
>
> To break cycles. If you never need to break cycles, you're likely to not
> find it very useful. ;-)
I do need to break cycles, but when I do, I normally just use a plain
pointer. How is a weak_ptr better?
Mark
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk