Boost logo

Boost :

From: Bruno Martínez (br1_at_[hidden])
Date: 2003-06-16 22:39:06


Hi,
I was wondering if it was possible to have two weak pointers that together
own an object. That is, if one of the two is destroyed the other fails to
construct a shared_ptr, but as long as both exist the object is not
destroyed, even if no other weak/shared ptr exists. This would come handy
for implementing association classes.

Thanks

------------------------------------------------------
  Internet en Uruguay es http://www.internet.com.uy


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