[Boost-bugs] [Boost C++ Libraries] #1089: missing boost::serialization::make_nvp in pointer container library

Subject: [Boost-bugs] [Boost C++ Libraries] #1089: missing boost::serialization::make_nvp in pointer container library
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-07-13 11:16:22


#1089: missing boost::serialization::make_nvp in pointer container library
---------------------------+------------------------------------------------
 Reporter: anonymous | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: serialization | Version: release 1.34.0
 Severity: Problem | Keywords: serialization pointer container
---------------------------+------------------------------------------------
 The serialization support of the pointer container library is not
 complete. If one tries to serialize a pointer container (such as
 ptr_vector<T>, with serializable T) to one of the xml-archive-types
 compilation will fail in an assertion failure:


 {{{
 boost/archive/basic_xml_oarchive.hpp:83: error: invalid application of
 â€˜sizeof’ to incomplete type ‘boost::STATIC_ASSERTION_FAILURE<false>’
 }}}


 As stated in the coment in boost/archive/basic_xml_oarchive.hpp this is
 due to missing nvp-wrappers in all serialization functions at least in
 boost/ptr_container/detail/reversible_ptr_container.hpp

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1089>
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:49:56 UTC