Boost logo

Boost Users :

Subject: Re: [Boost-users] 1.35 -> 1.39 update
From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2009-05-22 12:23:48


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, <Terry.Rankine_at_[hidden]> wrote:

> 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.hpp
>
> 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
>



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net