
12 Feb
2006
12 Feb
'06
4:19 a.m.
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