home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_08_11 / 8n11088d < prev    next >
Text File  |  1990-09-18  |  230b  |  16 lines

  1.  
  2.     class It {
  3.     public:
  4.         It( List &l)    { current = l;}
  5.         Truth isend()    { return current.isempty(); }
  6.         T get()
  7.         { 
  8.             T r = current.get();
  9.             current = current.tail();
  10.             return r;
  11.         }
  12.     private:
  13.         List current;
  14.     };
  15.  
  16.