Boost logo

Boost :

From: David B. Held (dheld_at_[hidden])
Date: 2002-04-19 16:07:10

"David B. Held" <dheld_at_[hidden]> wrote in message
> [...] The only thing I can think of is that the c'tor for
> shared_ptr<T>(intrusive_ptr<T>) could increment the object's count if
> the shared_count == 0.

That's a really dumb idea. Then nobody would delete the object, unless
you made shared_ptr check for a ref-counted object, which doesn't seem


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