
26 Apr
2008
26 Apr
'08
4:32 p.m.
Frank Mori Hess:
In any case, the exact behavior of shared_from_this wrt multiple owners has never been specified as far as I know.
It hasn't, but the case being discussed doesn't involve multiple (simultaneous) owners. The behavior of the original enable_shared_from_this is well defined when there is a single owner; the behavior of the Boost implementation was also predictable when there was no owner. (It's undefined in TR1, though.)