[Boost-bugs] [Boost C++ Libraries] #10873: polymorphic archive saving std::shared_ptr<>, no member named "get_helper""

Subject: [Boost-bugs] [Boost C++ Libraries] #10873: polymorphic archive saving std::shared_ptr<>, no member named "get_helper""
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-12-14 20:18:40


#10873: polymorphic archive saving std::shared_ptr<>, no member named "get_helper""
------------------------------+---------------------------
 Reporter: anonymous | Owner: ramey
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: serialization
  Version: Boost 1.57.0 | Severity: Regression
 Keywords: |
------------------------------+---------------------------
 This is a re-report of bug pointed out by Danny K in the lists:
 http://lists.boost.org/boost-users/2014/08/82735.php

 The issue was deemed as being fixed by ticket 10348, but it is not.

 The (boost|std)::shared_ptr<> helper fails to serialize from
 boost::archive::polymorphic_iarchive, because there is no "get_helper"
 function in this type of archive. The function is referenced in
 serialization/shared_ptr.h here:

 boost::serialization::shared_ptr_helper<boost::shared_ptr> & h =
             ar.template get_helper< shared_ptr_helper<boost::shared_ptr>
>(
                 shared_ptr_helper_id
             );

 or here

 boost::serialization::shared_ptr_helper<std::shared_ptr> & h =
         ar.template get_helper<
             shared_ptr_helper<std::shared_ptr>
>(
             shared_ptr_helper_id
         );

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10873>
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:17 UTC