Bruno MartÃnez wrote:
> 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 ex
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