[Boost-bugs] [Boost C++ Libraries] #2286: destroy method of extended_type_info_typeid violates privacy

Subject: [Boost-bugs] [Boost C++ Libraries] #2286: destroy method of extended_type_info_typeid violates privacy
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-09-04 21:25:00


#2286: destroy method of extended_type_info_typeid violates privacy
------------------------------------------------------------+---------------
 Reporter: Ross Lippert <ross.lippert_at_[hidden]> | Owner: ramey
     Type: Bugs | Status: new
Milestone: Boost 1.37.0 | Component: serialization
  Version: Boost 1.36.0 | Severity: Problem
 Keywords: |
------------------------------------------------------------+---------------
 In previous versions of serialization, this class did not have a destroy
 method and the only thing which called destructors was class access, which
 has private access. In this version, extended_type_info_typeid also has a
 destroy but is not appropriately friended.

 This means that a common singleton pattern, in which the destructor is
 made private, does not work with serialization. Attached in a file that
 can be compiled to give an example of this bug.

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