Boost logo

Boost :

From: Russell Hind (rh_gmane_at_[hidden])
Date: 2004-10-22 02:28:34

Robert Ramey wrote:
> There is a confusion here. Check the manual section titled "Class
> Versioning"
> There should be something like:
> in your code. I don't remember what the maximum class version might be but
> it could be small like 255 for binary archives.

I did ask about this in the previous e-mail. I thought non-primitive
types were, by default, versioned, i.e. if no BOOST_CLASS_VERSION is
specified, they have a version of 0. Is this not the case?

Anyway, the code I posted still gives odd results if I set
BOOST_CLASS_VERSION(Test_c, 0). Anything but 0 works, but zero gives
the effects described previously, a 3 on the way back in, which is your
archive version, not the class version.

Again, specifying no version works for text archives (haven't checked
binary) but not for XML.



Boost list run by bdawes at, gregod at, cpdaniel at, john at