Boost logo

Boost :

From: Matthias Troyer (troyer_at_[hidden])
Date: 2002-11-29 15:55:05


On Friday, November 29, 2002, at 06:32 PM, Robert Ramey wrote:
>> Two suggestions *I think* have been made.
>
>> 1) that the serialisation library recommends to users who want
>> portable
>> archives, should use the boost::int*_t types instead of short, int,
>> etc.
>
> This would only be applicable to binary archives. The only currently
> implemented binary archive has absolutely no pretense to portability.
> Should a portable binary archive be submitted, The comments and
> or documentation might make this recommendation, but its not clear
> to me that it would be universally preferred.

It is also true for your text archives. If you write a 64-bit long on
one platform and try to read it on a platform with 32-bit longs you
will have problems even for text archives

> Again, that would be up to the person who
> submits a portable binary archive.

I'll do that once the interface has been finalized

Matthias


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk