
25 Aug
2009
25 Aug
'09
6:08 p.m.
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