
5 Jan
2012
5 Jan
'12
1:22 a.m.
Am 30.12.2011 11:27, schrieb Anders Wallin:
As a comment to this: when I write algorithms that do a lot of modifications to a graph, a common reason for a segfault is accessing the bundled property (either vertex or edge) of a BGL-graph with an illegal vertex/edge-descriptor. It would be useful if in debug-mode, or perhaps a special "safe"-mode BGL would guard against this segfault and produce an assert() on g[illegal_descriptor]
I wonder whether a special graph type might be sufficient/desired here? E.g., one might want to never re-use descriptors of deleted vertices/edges even by mistake. -- Jens