Boost logo

Boost :

From: David B. Held (dheld_at_[hidden])
Date: 2002-04-19 15:54:25

"Fernando Cacciola" <fcacciola_at_[hidden]> wrote in message
> [...]
> *px3 ; // undefined behavior, pointee no longer alive.
> [...]

Ouch. I guess that's what happens when two different people have
different ideas on who is responsible for ownership. 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.


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