home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 31 / CDASC_31_1996_juillet_aout.iso / vrac / cuj0796.zip / SAKS.ZIP / TABLE2.O < prev   
Text File  |  1996-04-22  |  718b  |  23 lines

  1. Table 2 - deque<T>::iterator member functions used in the
  2. scanner implementation in Listing 5.
  3.  
  4. Note: These function declarations are not exactly as the
  5. appear in the STL.  I have simplified them for presentation
  6. purposes.
  7.  
  8. bool operator!=(iterator &i);
  9. - returns true if the iterator has the same value as
  10. iterator i; otherwise returns false.
  11.  
  12. T &operator*();
  13. - returns the element referenced by the iterator.
  14.  
  15. iterator& operator++(); // prefix increment
  16. - returns the iterator after advancing it to the next
  17. element in the deque.
  18.  
  19. iterator operator++(int); // postfix increment
  20. - advanced the iterator to the next element in the deque;
  21. returns the value of the iterator prior to incrementing.
  22.  
  23.