[Boost-bugs] [Boost C++ Libraries] #11829: Order of elements with same key in multimap not preserved

Subject: [Boost-bugs] [Boost C++ Libraries] #11829: Order of elements with same key in multimap not preserved
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-12-04 07:39:57


#11829: Order of elements with same key in multimap not preserved
------------------------------+---------------------------
 Reporter: boost@… | Owner: ramey
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: serialization
  Version: Boost 1.59.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------
 The hinting in load_map_collection from boost/serialization/map.hpp
 destroys the relative order of elements with the same key. Since C++11 one
 can reconstruct multimaps where the elements preserve the original order.
 However, one has to use the multimap insertions without hinting. A quick
 fix would be to drop hinting for multimaps whereas for maps it can still
 be used. Possibly also hinting with the end pointer would work.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11829>
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:19 UTC