Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8069: Boost unordered_map iterator bug
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-15 20:38:13
#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 danieljames):
The iterator is still valid, it's pointing at '0' which is the last
element in the container, so your loop only prints out that element. Try
printing out all the elements and you can see that the '0' comes last.
Remember that these are unordered containers, so there's no guarantee that
they'll have any particular order.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8069#comment:2> 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