|
Boost : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-09-29 00:59:31
I was just going to write something like
vector<My_class> v;
for (....) {
stringstream ss(....);
boost::serialization::text_iarchive ia(ss);
ia >> v;
}
Unfortunately, docs do not say what happens in this case. One alternative is
that vector is cleared before every load. Another one is that it's not. The
code seems to clear vector.... wouldn't it be good to say that in
documentation?
Thanks,
Volodya
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk