$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Robert Ramey (ramey_at_[hidden])
Date: 2008-01-02 12:23:40
In your original example
a) you' re reconstruction the archive for each object. I can't imagine what
the purpose of this is. Certainly one would not expect to be able to
serialize multiple objects to an archive if the archive is being
re-constructed with every object.
b) you're code contains things like ar << *this; This suggests to me that
there is some confusion as to how the library is intended to be used.
I would recommend a more careful revue of the demos and perhaps some of the
tests which might be similar to your example.
Robert Ramey