Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3014: Assertion on unregistering of extended_type_info
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-05-19 05:32:53
#3014: Assertion on unregistering of extended_type_info
-----------------------------------+----------------------------------------
Reporter: mazay0_at_[hidden] | Owner: ramey
Type: Bugs | Status: reopened
Milestone: Boost 1.39.0 | Component: serialization
Version: Boost Release Branch | Severity: Problem
Resolution: | Keywords:
-----------------------------------+----------------------------------------
Comment(by Mazay0_at_[hidden]):
At first sight there is three possible fixes:
1) Additional check in key_register() to avoid duplicates in ktmap (Also I
don't understand why ktmap is a multiset in spite of a simple set).
2) Remove break; from key_unregister() and null m_key only after erasing
of all occurences of this extended_type_info.
3) Split declaration and definition of guid_initializer. Make two macroses
BOOST_CLASS_EXPORT_GUID_DECLARE and BOOST_CLASS_EXPORT_GUID_DEFINE. This
whould allow user to explicitly specify translational unit in which an
instance of guid_initializer should be created.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3014#comment:4> 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:50:00 UTC