Boost logo

Boost :

From: joaquin_at_[hidden]
Date: 2008-04-17 05:42:09


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.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo


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