Boost logo

Boost Users :

Subject: [Boost-users] [serialization] Serializing "int" types...
From: Robert Dailey (rcdailey_at_[hidden])
Date: 2009-04-02 17:02:48


If I choose to serialize a variable with type "int", is this portable? For
example, if I stream out this value on a 64-bit system, and then load it in
on a 32-bit system, will this result in a buffer-overrun or anything else
weird? I read the serialization docs but didn't see this topic in there.
Sorry if I missed it.

Help is appreciated. Thank you.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net