Re: [Boost-bugs] [Boost C++ Libraries] #7047: Deriving custom archive classes from boost::archive::text_oarchive_impl and boost::archive::text_iarchive_impl

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7047: Deriving custom archive classes from boost::archive::text_oarchive_impl and boost::archive::text_iarchive_impl
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-10-21 20:48:59


#7047: Deriving custom archive classes from boost::archive::text_oarchive_impl and
boost::archive::text_iarchive_impl
---------------------------------------+------------------------------------
  Reporter: zachais.vawter@… | Owner: ramey
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: serialization
   Version: Boost 1.48.0 | Severity: Problem
Resolution: | Keywords:
---------------------------------------+------------------------------------

Comment (by ramey):

 I would really like a better explanation of this along with a specific
 recommendation as to what should be changed.

 You might want to post your code for your custom archive.

 Hopefully this would end up being some misunderstanding or missing
 information which is needed to properly support a custom archive. Ideally
 this would be crafted as an example to be added to the package.

 I'm thinking that the missing magic is:

 BOOST_SERIALIZATION_REGISTER_ARCHIVE(boost::archive::custom_oarchive)

 but that's just a guess.

 I'll leave this ope a little while longer to give you a chance to respond.

 Robert Ramey

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7047#comment:1>
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:10 UTC