1.35 -> 1.39 update
Hi I am updating some code from 1.35 to 1.39 and i am stuck on this http://www.boost.org/doc/libs/1_38_0/boost/enable_shared_from_this.hpp vs http://www.boost.org/doc/libs/1_39_0/boost/smart_ptr/enable_shared_from_this... The code i have to update is making calls like this: _internal_weak_this.expired() this is now private in 1.39, but i cant see a way of replicating its actions. Terry Rankine
Hi!
Do you understand why it is called? This member was not designed for direct
use. That's
why it has an unusual name starting with '_' followed by 'internal'.
Do you have unit tests for your code?
What happens if you remove the direct call?
With Kind Regards,
Ovanes
On Fri, May 22, 2009 at 5:46 PM,
Hi
I am updating some code from 1.35 to 1.39 and i am stuck on this
http://www.boost.org/doc/libs/1_38_0/boost/enable_shared_from_this.hpp vs
http://www.boost.org/doc/libs/1_39_0/boost/smart_ptr/enable_shared_from_this...
The code i have to update is making calls like this: _internal_weak_this.expired()
this is now private in 1.39, but i cant see a way of replicating its actions.
Terry Rankine
participants (2)
-
Ovanes Markarian
-
Terry.Rankine@csiro.au