Subject: [Boost-bugs] [Boost C++ Libraries] #7870: boost::remove_vertex bug
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-01-08 21:20:16
#7870: boost::remove_vertex bug
------------------------------+---------------------------------------------
Reporter: ny_218@⦠| Owner: jewillco
Type: Bugs | Status: new
Milestone: To Be Determined | Component: graph
Version: Boost 1.52.0 | Severity: Problem
Keywords: |
------------------------------+---------------------------------------------
The following code will cause an exception in Visual Studio 2010, debug
mode:
{{{
#include <boost/graph/adjacency_list.hpp>
#include <iostream>
int main()
{
typedef boost::adjacency_list<
boost::listS,
boost::vecS,
boost::bidirectionalS> graph_t;
graph_t myGraph;
graph_t::vertex_descriptor v1 = boost::add_vertex(myGraph);
graph_t::vertex_descriptor v2 = boost::add_vertex(myGraph);
boost::remove_vertex(v1, myGraph);
boost::remove_vertex(v2, myGraph);
return 0;
}
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7870> 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