Boost logo

Boost :

From: Richard Crossley (rdc_at_[hidden])
Date: 2006-03-21 07:20:38


Hi,

I'm trying to read in a xml_archive created by a previous version of the
serialization library (version="3") with the version from CVS head
(version="4").

The reading fails in load_collection here as there is no "item_version"
field.

if(3 < ar. get_library_version ()){
        ar >> BOOST_SERIALIZATION_NVP(item_version);
}

Shouldn't a xml_archive be doing a set_library_version() based on the
version of the archive it's reading, or am I missing something?

Regards,

Richard.


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