[Boost-bugs] [Boost C++ Libraries] #5181: iterator invalidation problem in boost subgraph remove_edge_if

Subject: [Boost-bugs] [Boost C++ Libraries] #5181: iterator invalidation problem in boost subgraph remove_edge_if
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-02-11 15:11:05


#5181: iterator invalidation problem in boost subgraph remove_edge_if
-----------------------------------------------------+----------------------
 Reporter: joachim.falk@… | Owner: asutton
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: graph
  Version: Boost 1.45.0 | Severity: Problem
 Keywords: |
-----------------------------------------------------+----------------------
 remove_edge_if in subgraph.hpp goes on to note that remove_edge(*ep.first,
 g);
 will invalidate ep.first but then goes on using said iterator by using
 continue instead of break.

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