$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [serialization] [archive] Bug serializing vectors consecutively
From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2009-08-25 14:57:02
Paul Eipper wrote:
> Hi,
>
> I've hit what I believe is a bug in boost serialization, at least on
> binary and text archive modes.
void save()
{
...
oa << this;
};
void load()
{
std::ifstream ifs(filename.c_str()); // needs binary mode
...
ia >> *this; // your not loading what you serialized?
};
Jeff