Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9567: De-serialization of enable_shared_from_this through base class pointer fails
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-01-14 12:24:04
#9567: De-serialization of enable_shared_from_this through base class pointer
fails
-------------------------+-------------------------------------------------
Reporter: Tim Regan | Owner: ramey
Type: Bugs | Status: new
Milestone: To Be | Component: serialization
Determined | Severity: Problem
Version: Boost | Keywords: serialization
1.53.0 | enable_shared_from_this shared_ptr weak_ptr
Resolution: |
-------------------------+-------------------------------------------------
Comment (by t_regan@â¦):
Workaround: weak_this_ can be reconstructed by calling
_internal_accept_owner (which fortunately is public) on each deserialized
instance of Derived.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9567#comment:2> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:15 UTC