Ordered Linked List Iterator

Just want to make sure what the iterator exactly does in a linked list. Is it like the push function but this is for nodes?
1
2
3
4
linkedListIterator<Type> operator++();    
      //Overload the preincrement operator.
      //Postcondition: The iterator is advanced to the next node.


and Im also having trouble understanding what these two lines mean.
1
2
3
4
5
bool operator==(const linkedListIterator<Type>& right) const;
      //Overload the equality operator.
      //Postcondition: Returns true if this iterator is equal to 
      //    the iterator specified by right, otherwise it returns
      //    false. 


1
2
3
4
5
 bool operator!=(const linkedListIterator<Type>& right) const;
      //Overload the not equal to operator.
      //Postcondition: Returns true if this iterator is not equal to
      //    the iterator specified by right, otherwise it returns
      //    false. 
By the way those comments are from the book which I cannot understand. Can anybody explain it a different way? Thanks
Iterator does in linked list exact same thing what it does in vector, array, and other containers. It is an universal pattern:
http://www.cprogramming.com/tutorial/stl/iterators.html
http://en.wikipedia.org/wiki/Iterator
Topic archived. No new replies allowed.