Boost C++ Libraries: Ticket #1708: Can't serialize class with private destructor https://svn.boost.org/trac10/ticket/1708 <p> When serializing a class A with a private destructor, boost::serialization::extended_type_info_typeid::destroy() is trying and failing to access the destructor. Friending boost::serialization::access in A is not sufficient. </p> <p> Attached code sample includes compiler output from MSVC 9. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1708 Trac 1.4.3 Paul Roberts <paul@…> Sun, 23 Mar 2008 23:56:46 GMT attachment set https://svn.boost.org/trac10/ticket/1708 https://svn.boost.org/trac10/ticket/1708 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">serialization_repro2.cpp</span> </li> </ul> <p> Repro code sample </p> Ticket Robert Ramey Sun, 08 Jun 2008 20:34:00 GMT status changed https://svn.boost.org/trac10/ticket/1708#comment:1 https://svn.boost.org/trac10/ticket/1708#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket Douglas Gregor Mon, 28 Jul 2008 20:10:22 GMT <link>https://svn.boost.org/trac10/ticket/1708#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1708#comment:2</guid> <description> <p> This is a regression from Boost 1.35.0, which allowed the serialization of a class with a private or protected destructor, so long as that class made boost::serialization::access a friend. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Robert Ramey</dc:creator> <pubDate>Fri, 05 Sep 2008 22:55:54 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/1708#comment:3 https://svn.boost.org/trac10/ticket/1708#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> I've addressed this in the trunk. </p> Ticket