Boost logo

Boost :

From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2005-05-05 16:52:47


"Keith McNeill" wrote:

> Using boost serialization I'm getting a unregistered_class exception. I
> know how to solve the problem once I figure out what class is having the
> problem. Figuring out which class is the problem can be a real pain when
> you have lots of templates.
>
> Is there anyway to get more information from boost serialization as to
> exactly what class is unregistered? Or is there anyway to inspect the
> archive and print out what classes are in the archive?
>
You may put breakpoint to the place that throws (oserializer.hpp)
and then check data in extended_type_info variable just above.
This should show you class name.

/Pavel


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk