Boost logo

Boost :

From: Robert Ramey (ramey_at_[hidden])
Date: 2006-02-11 23:19:35


Peter Dimov wrote:
> Consider an archive where unsigned int and unsigned long have a
> different internal representation. When a value of a size_t type is
> written on
> platform A, where size_t == unsigned int, platform B, where size_t ==
> unsigned long, won't be able to read the file.

native binary archives are not guarenteed or even expected
to be portable accross platforms.

text archives don't have this problem.

Robert Ramey


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