Boost logo

Boost :

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

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.


  Internet en Uruguay es

Boost list run by bdawes at, gregod at, cpdaniel at, john at