Boost logo

Boost Users :

Subject: Re: [Boost-users] BGL: invalidated/changing vertex_descriptor?
From: Anders Wallin (anders.e.e.wallin_at_[hidden])
Date: 2011-11-28 05:11:44


> I don't know about the prepended 0x20.  What modifications, if any, are you
> doing to the graph before checking the edge pairs?  The invalidation rules
> are on the documentation page for adjacency_list; listS doesn't cause
> invalidations too often, though.  Can you please post a small example of
> something that breaks?  Do Valgrind and/or _GLIBCXX_DEBUG show anything?

It appears that my problems were due to calling remove_vertex() on the
same vertex-descriptor twice. I tried but failed to reproduce this
0x20 behavior in a small example program...

AW


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