Boost logo

Boost Users :

Subject: Re: [Boost-users] Assertion `__null != bpos' failed in /inclu de/boost/archive/detail/oserializer.hpp:436
From: Robert Ramey (ramey_at_[hidden])
Date: 2011-01-21 11:28:21


ktomaszewski_at_[hidden] 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



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net