Boost logo

Boost Users :

Subject: Re: [Boost-users] [serialization] class versioning changes in boost 1.42
From: Jarl Lindrud (jlindrud_at_[hidden])
Date: 2010-02-28 23:39:13


Robert Ramey <ramey <at> rrsd.com> writes:

>
> Hmmm - This change - changing unsigned int to std::size_t - doesn't
> seem to be an error to me. binary archives are be definition across
> platforms. That is a binary archive created on a 32 bit machine
> cannot be read on a 64 bit machine. Since std::size_t is the same
> size as unsigned int on all platforms, I don't think this should ever
> create an error.
>

64 bit Visual C++ has size_t as 64 bits, and unsigned int as 32 bits ...


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