Boost logo

Boost Users :

From: Nat Goodspeed (ngoodspeed_at_[hidden])
Date: 2007-04-12 12:25:36


-----Original Message-----
From: boost-users-bounces_at_[hidden] [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Loïc Joly
Sent: Thursday, April 12, 2007 8:10 AM
To: boost-users_at_[hidden]
Subject: [Boost-users] shared_ptr sharing the same ref count

If I make unknownType a classic shared_ptr<Owned>, I have a circular
reference.

[Nat] weak_ptr is explicitly intended to resolve such circularities.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net