Re: [Boost-bugs] [Boost C++ Libraries] #7863: Bad graph after removing named vertex and then adding it again.

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7863: Bad graph after removing named vertex and then adding it again.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-01-14 19:27:19


#7863: Bad graph after removing named vertex and then adding it again.
-----------------------------------+----------------------------------------
  Reporter: colsebas@… | Owner: jewillco
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: graph
   Version: Boost 1.52.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------------+----------------------------------------

Comment (by jewillco):

 On lines 121 and 124, you are using `*tv` even after that vertex might
 have been deleted (on 121, it is known to have been deleted). Your
 comment about `*fv` being invalid after `*tv` has been removed is correct;
 in a graph with `vecS` vertex container, removing one vertex invalidates
 all other vertex descriptors.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7863#comment:1>
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:11 UTC