Diff for /parser3/src/include/pa_array.h between versions 1.88 and 1.89

version 1.88, 2024/09/07 15:01:38 version 1.89, 2024/09/07 16:30:26
Line 252  private: //disabled Line 252  private: //disabled
 /** Array iterator, usage:  /** Array iterator, usage:
         @code          @code
         // Array<T> a;          // Array<T> a;
         for(Array_iterator<T> i(a); i.has_next(); ) {          for(Array_iterator<T> i(a); i; ) {
                 T& element=i.next();                  T& element=i.next();
                 ...                  ...
         }                 }       
Line 272  public: Line 272  public:
         }          }
   
         /// there are still elements          /// there are still elements
         bool has_next() {          operator bool () {
                 return fcurrent<flast;                  return fcurrent<flast;
         }          }
   

Removed from v.1.88  
changed lines
  Added in v.1.89


E-mail: