21 Jan
2011
21 Jan
'11
4:28 p.m.
ktomaszewski@zunit.com wrote:
Robert, Changing the archive from Borg::SafeBinOutArchive to boost::archive::binary_oarchive will remove a core of the problem. In the constructor of Borg::SafeBinOutArchive I call register_type method to make my archive know about derived classes it will meet during serialization through base class pointers. But the constructor of boost::archive::binary_oarchive class doesn't do such things.
without having seen the code for Borg::SafeBinOutArchive I can't comment on it. But it would seem that investigating the differences between these two archive classes would point to the problem. Robert Ramey