$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-10-30 09:35:21
Robert,
do binary streams have any kinds of signature at the beginning? When I send
just empty vector<int> to a binary stream, I get file with 5 zeros, and I'm
not sure what is it.
I'm asking because I just had a strange error: serialization lib asserted in
some place. It turned out that I was reading from an incorrect position in a
stream. If there were a signature and iarchive checked for this signature,
the bug would be diagnosed much faster.
What do you think?
- Volodya