Boost logo

Boost Users :

Subject: Re: [Boost-users] [enable_shared_from_this] Disappeared
From: Lars Viklund (zao_at_[hidden])
Date: 2013-07-02 11:42:10


On Tue, Jul 02, 2013 at 10:14:18AM -0500, Michael Powell wrote:
> Hello,
>
> Where did it go from 1.53? We have not upgraded our compiler
> environment at all, so we are still depending on
> boost::enable_shared_from_this, however, this seems to have been
> dropped for std::enable_shared_from_this, which we do not have.

boost::enable_shared_from_this is in my 1.54.0 still provided by
boost/enable_shared_from_this.hpp which forwards to
boost/smart_ptr/enable_shared_from_this.hpp .

As the particular headers a library may include can change over time, if
you need some particular piece of functionality, it's most resilient to
include the documented header for that piece of functionality.

I would diagnose this as reliance on such indirect inclusion.

-- 
Lars Viklund | zao_at_[hidden]

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