Boost logo

Boost Users :

Subject: Re: [Boost-users] [BGL] adjacency_iterator invalidation with adjacency_list<listS, listS, unorderedS>
From: Andrew Sutton (andrew.n.sutton_at_[hidden])
Date: 2010-02-23 13:29:55


> I'm wondering if the documentation is incorrect. Perhaps it is just
> imprecise, and removing any edge from the source vertex of an
> adjacency_iterator invalidates that iterator?
>
> Anyone with additional insight would be very helpful.
>

That behavior should actually be correct since an adjacency iterator is just
a wrapper around an out edge iterator. I haven't looked at the documentation
on adjacency iterator invalidation, so it the docs may be incorrect.

Andrew Sutton
andrew.n.sutton_at_[hidden]



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