Boost C++ Libraries: Ticket #1089: missing boost::serialization::make_nvp in pointer container library https://svn.boost.org/trac10/ticket/1089 <p> The serialization support of the pointer container library is not complete. If one tries to serialize a pointer container (such as ptr_vector&lt;T&gt;, with serializable T) to one of the xml-archive-types compilation will fail in an assertion failure: </p> <pre class="wiki">boost/archive/basic_xml_oarchive.hpp:83: error: invalid application of ‘sizeof’ to incomplete type ‘boost::STATIC_ASSERTION_FAILURE&lt;false&gt;’ </pre><p> 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 </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1089 Trac 1.4.3 Marshall Clow Thu, 23 Aug 2007 14:04:11 GMT owner set https://svn.boost.org/trac10/ticket/1089#comment:1 https://svn.boost.org/trac10/ticket/1089#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Robert Ramey</span> </li> </ul> Ticket Robert Ramey Fri, 30 Nov 2007 05:16:20 GMT owner deleted https://svn.boost.org/trac10/ticket/1089#comment:2 https://svn.boost.org/trac10/ticket/1089#comment:2 <ul> <li><strong>owner</strong> <span class="trac-author">Robert Ramey</span> removed </li> </ul> Ticket Marshall Clow Fri, 30 Nov 2007 14:50:29 GMT component changed; owner set https://svn.boost.org/trac10/ticket/1089#comment:3 https://svn.boost.org/trac10/ticket/1089#comment:3 <ul> <li><strong>owner</strong> set to <span class="trac-author">Thorsten Ottosen</span> </li> <li><strong>component</strong> <span class="trac-field-old">serialization</span> → <span class="trac-field-new">ptr_container</span> </li> </ul> Ticket Thorsten Ottosen Mon, 03 Dec 2007 08:54:03 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1089#comment:4 https://svn.boost.org/trac10/ticket/1089#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Should be fixed in 1.35 </p> <p> -Thorsten </p> Ticket