Re: [Boost-users] Assertion `__null != bpos' failed in /inclu de/boost/archive/detail/oserializer.hpp:436
21 Jan
21 Jan
4:28 p.m.
New subject: Assertion `__null != bpos' failed in /inclu de/boost/archive/detail/oserializer.hpp:436
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
5060
Age (days ago)
5060
Last active (days ago)
1 comments
2 participants
participants (2)
-
ktomaszewski@zunit.com
-
Robert Ramey