C++ - External iterator and an internal
iterator - April 03, 2009 at 15:00 PM by Vidya Sagar
Difference between an external iterator and an internal iterator
An internal iterator is implemented by the member functions of the class which
has the iteration logic.
An external iterator is implemented by a separate class which can be attached
to the object which has iteration logic.
The advantage of external iterator is that, many iterators can be made active
simultaneously on the existing or same object.
A container class hold group of objects and iterator class is
used to traverse through the objects maintained..........
What is the STL, standard template library?
The Standard Template Library, or STL, is a C++ library of container classes,
algorithms, and iterators; it provides many of the basic algorithms and data