Re: [Boost-bugs] [Boost C++ Libraries] #8069: Boost unordered_map iterator bug

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8069: Boost unordered_map iterator bug
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-16 00:09:14


#8069: Boost unordered_map iterator bug
-------------------------------------------------------+--------------------
  Reporter: Karalis Apostolos <tolis@…> | Owner: danieljames
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: unordered
   Version: Boost 1.53.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------------------------------+--------------------

Comment (by steven_watanabe):

 You're assuming that the order of the elements in the container is the
 same as the insertion order. This is not the case. map[6] and map[2]
 could just as easily appear before map[4] when iterating over the
 container and in fact, as Daniel stated, this is what is happening in your
 test case.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8069#comment:4>
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:12 UTC