Diff for /parser3/src/include/pa_array.h between versions 1.59 and 1.60

version 1.59, 2003/07/24 11:31:21 version 1.60, 2003/11/07 13:59:21
Line 164  public: Line 164  public:
                         callback(*current, info);                          callback(*current, info);
         }          }
   
           /// iterate over all elements
           template<typename I> void for_each_ref(void (*callback)(T&, I), I info) {
                   T *last=felements+fused;
                   for(T *current=felements; current<last; current++)
                           callback(*current, info);
           }
   
         /// iterate over all elements until condition becomes true, return that element          /// iterate over all elements until condition becomes true, return that element
         template<typename I> T first_that(bool (*callback)(T, I), I info) const {          template<typename I> T first_that(bool (*callback)(T, I), I info) const {
                 T *last=felements+fused;                  T *last=felements+fused;

Removed from v.1.59  
changed lines
  Added in v.1.60


E-mail: