$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: Paul Eipper (lkraider_at_[hidden])
Date: 2009-08-25 15:10:12
On Tue, Aug 25, 2009 at 3:57 PM, Jeff
Flinn<TriumphSprint2000_at_[hidden]> wrote:
> 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
You guys are correct, I thought it was a bug because when using the
xml archive it was working like this
thanks :)
-- Paul Eipper