Re: [Boost-bugs] [Boost C++ Libraries] #5679: boost::serialization::primitive_type used with polymorphic archive fails to compile

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5679: boost::serialization::primitive_type used with polymorphic archive fails to compile
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-06-26 17:23:58


#5679: boost::serialization::primitive_type used with polymorphic archive fails to
compile
----------------------------------+-----------------------------------------
  Reporter: boost@… | Owner: ramey
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: serialization
   Version: Boost 1.47.0 | Severity: Problem
Resolution: invalid | Keywords: uuid serialization polymorphic
----------------------------------+-----------------------------------------

Comment (by rodolfo@…):

 Hi, I'm using boost-1_49 and got stuck by this "bug". One solution, at
 least for streamable types, might be a template overload of
 polymorphic_oarchive_impl::save that converts the value to a string, then
 dispatches it to save(const std::string *).

 How about it?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5679#comment:4>
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:09 UTC