Boost C++ Libraries: Ticket #2286: destroy method of extended_type_info_typeid violates privacy https://svn.boost.org/trac10/ticket/2286 <p> 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. </p> <p> 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. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2286 Trac 1.4.3 Ross Lippert <ross.lippert@…> Thu, 04 Sep 2008 21:25:29 GMT attachment set https://svn.boost.org/trac10/ticket/2286 https://svn.boost.org/trac10/ticket/2286 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">test.cxx</span> </li> </ul> <p> test program </p> Ticket Robert Ramey Fri, 05 Sep 2008 22:34:56 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2286#comment:1 https://svn.boost.org/trac10/ticket/2286#comment:1 <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">duplicate</span> </li> </ul> <p> This has been previously reported. The latest version checked into the trunk and pending testing addresses this issue. </p> Ticket