Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7869: boost::in_edges bug
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-01-08 20:55:33
#7869: boost::in_edges bug
-------------------------------+--------------------------------------------
Reporter: ny_218@⦠| Owner: jewillco
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: graph
Version: Boost 1.52.0 | Severity: Problem
Resolution: invalid | Keywords:
-------------------------------+--------------------------------------------
Changes (by jewillco):
* status: new => closed
* resolution: => invalid
Comment:
When you remove the vertex `v1`, the vertex descriptor `v2` is invalidated
and thus no longer usable in operations such as `in_edges`. See the
**"Iterator and Descriptor !Stability/Invalidation"** section of
http://www.boost.org/libs/graph/doc/adjacency_list.html for more
information. One fix is to set your vertex container to `listS` instead
of `vecS`.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7869#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