Iterators


Not-so-pleasant traits of the container/STL iterators




iterators are distinguished by very characteristic patterns

much is written about what's neat about iterators. There is a talk about STL iterators here at MacHack. Let me mention a few not-so-neat traits

For example, a container iteration has to check three times if x is still good:



Next | Table of contents