Boost logo

Boost Users :

From: Jens Müller (jens.mueller_at_[hidden])
Date: 2007-01-29 14:25:31


Adrian Boeing schrieb:
> Hi,
>
> I have a an adjacency_list graph, which I've been using fine. I would
> like to remove a vertex from the graph, and I do so by calling:
> clear_vertex
> then
> remove_vertex
>
> If I then try a call to:
> adjacent_vertices
>
> on a vertex that used to have the removed vertex as a parent, my program
> then crashes on the line 1481
> "boost::tie(first, last) = out_edges(u, g);"
> of adjacency_list.hpp
>
> I'm using MSVC8.0
>
> Any advice on what might be going wrong would be much appreciated.

Can you give a small test program that crashes?

Are you using vecS storage? Maybe you are using an vertex descriptor
that has been invalidated by the remove operation?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net