Boost logo

Boost :

Subject: [boost] [serialization] using boost::serialization::collection_size_type and backwards compatibility
From: joaquin_at_[hidden]
Date: 2009-09-02 02:15:09


An observant colleague has noticed that Boost.MultiIndex serialization
uses std::size_type instead of the adviced
boost::serialization::collection_size_type:

https://svn.boost.org/trac/boost/ticket/3365

My question is: if I just change std::size_type with
boost::serialization::collection_size_type in Boost.MultiIndex
serialization code,
will backwards compatibility be preserved, i.e. will users be able to load
archives saved with the old std::size_type variant? If not, what's the
suggested
way to handle this issue?

Thank you,

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo


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