Subject: [Boost-bugs] [Boost C++ Libraries] #1708: Can't serialize class with private destructor
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-03-23 23:55:52
#1708: Can't serialize class with private destructor
-----------------------------------------------+----------------------------
Reporter: Paul Roberts <paul_at_[hidden]> | Owner: ramey
Type: Bugs | Status: new
Milestone: Boost 1.35.0 | Component: serialization
Version: Boost Development Trunk | Severity: Problem
Keywords: |
-----------------------------------------------+----------------------------
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.
Attached code sample includes compiler output from MSVC 9.
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1708>
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:57 UTC