[Boost-bugs] [Boost C++ Libraries] #9467: boost::archive should report typeid.name of unregistered classes

Subject: [Boost-bugs] [Boost C++ Libraries] #9467: boost::archive should report typeid.name of unregistered classes
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-12-03 23:02:35


#9467: boost::archive should report typeid.name of unregistered classes
------------------------------+---------------------------
 Reporter: schnetter@… | Owner: ramey
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: serialization
  Version: Boost 1.55.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------
 While developing code using Boost's serialization, I often encounter error
 messages such as:

 libc++abi.dylib: terminating with uncaught exception of type
 boost::archive::archive_exception: unregistered class - derived class not
 registered or exported

 This is due to classes that I forgot to register. Unfortunately, the error
 message does not describe at all which class is not registered, making it
 difficult to find out what is wrong.

 I suggest to add typeid.name() of the class that is not registered or
 exported.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9467>
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:14 UTC