| | | | | |

List Iterator Implementation Plan

  • Protected data
    • pointer to current link
    template <typename T>
    class ListIterator
    {
      protected:
        link * curr_;
    
      public:
        listiterator& operator ++();
    } ;
    

In the illustration, interpret
currLink = curr_

link image

| | Top of Page | 1. Positional Containers - 20 of 23