Boost logo

Boost :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2005-06-16 08:05:10


On 06/16/2005 07:48 AM, Larry Evans wrote:
[snip]
> But if the problematic roots are known in advance, why doesn't the
> programmer simply use weak_ptr's to them? I guess it's because
> the programmer doesn't know he's connecting to a problematic root,
> although he knows what they are. I guess he doesn't want to store the
> identity of the problematic roots in some global data structure and
> check each time he makes a connection. Eric, is that about right?

OOPS. I jumped to the conclusion the "problematic root" must be
the target of a "cycle closing smart pointer" instead of all "cycle
closing smart pointers" were reachable from one or more of the
"problematic roots". I hope that describes Eric's situation.


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