[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-bugs
Subject:    [Boost-bugs] [Boost C++ Libraries] #3365: Serialization of
From:       "Boost C++ Libraries" <noreply () lists ! boost ! org>
Date:       2009-08-26 13:44:11
Message-ID: 072.83de34d3175bcffa1af6e823856f606a () lists ! boost ! org
[Download RAW message or body]

#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.
_______________________________________________
Boost-bugs mailing list
Boost-bugs@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-bugs

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic