Subject: [Boost-bugs] [Boost C++ Libraries] #3365: Serialization of multi_index_container is non portable.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-08-26 13:44:11
#3365: Serialization of multi_index_container is non portable.
--------------------------------------------------------------+-------------
Reporter: Ilia V. Sochenkov <ivsochenkov@â¦> | Owner: joaquin
Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: multi_index
Version: Boost 1.38.0 | Severity: Cosmetic
Keywords: multi_index_container serialization, multi_index |
--------------------------------------------------------------+-------------
multi_index_container save and load member-functions use type
"std::size_t" to serialize a container's size instead of
boost::serialization::collection_size_type. It may cause some problems
when portable binary archives are used, because std::size_t has different
size in different platforms. boost::serialization::collection_size_type
can be treated specially by portable archive implementations:
collection_size_type used in the serialization implementation for the
standart containers.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3365> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC