Boost logo

Boost :

From: Robert Ramey (ramey_at_[hidden])
Date: 2006-06-26 11:13:28

Stefan van den Oord wrote:
> As a matter of fact, I already ran into other issues with that
> solution I suggested.
> I didn't really give this much thought yet, but would it be an idea to
> pass the size of the type to save_impl, just as you do to load_impl,
> and then use that real size instead of a computed size?

The problem is that the "real size" may be different between the
sending and receiving machines. I tweaked portable_binary_iarchive
to properly sign extend negative values which I believe solves
the problem - I havn't tested it yet though.

Robert Ramey

Boost list run by bdawes at, gregod at, cpdaniel at, john at