Boost logo

Boost :

From: Andrey Semashev (andysem_at_[hidden])
Date: 2008-04-17 10:49:10


joaquin_at_[hidden] wrote:
> Hi Oliver,
>
> Kowalke Oliver (QD IT PA AS) escribió:
>> Hello,
>> become iterators of an ordered_non_unique index invalidated if I call:
>>
>> iterator erase(iterator position)?
>>
>> Or are all other iterators still valid and point to the same item as before?
>>
>
> All iterators except those pointing to the deleted element will remain
> valid and
> pointing to whatever they were pointing before deletion. This is true of
> all types of
> indices, not only ordered ones.

Even for random_access_index?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk