![[Dept of Engineering]](http://www.eng.cam.ac.uk/images/house_style/engban-s.gif)
Next: Size
Up: Strings
Previous: Strings
The following routines provide iterators (pointers) of
various kinds, depending on whether you want to go forwards or
backwards through the string and whether you want to change
the string. The same kind of routines exist for vector etc.
// Iterators - note the various types
iterator begin();
const_iterator begin() const;
iterator end();
const_iterator end() const;
reverse_iterator rbegin();
const_reverse_iterator rbegin() const;
reverse_iterator rend();
const_reverse_iterator rend() const;
Tim Love
2001-07-05