25 Aug
2009
25 Aug
'09
8:15 p.m.
change oa << this; to oa << *this Paul Eipper wrote:
Hi,
I've hit what I believe is a bug in boost serialization, at least on binary and text archive modes.
If I have two member vectors (of int, for example), and the serialize code is like this:
ar & vector1; ar & vector2;
I cannot deserialize it back, since boost throws "stream error" if it's a text archive, or "std::length_error" on vector::reserve if it's a binary archive. Attached is an example code.
att, -- Paul Eipper
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users