|
Boost Users : |
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
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