Diff for /parser3/src/include/pa_array.h between versions 1.57.2.18 and 1.57.2.21

version 1.57.2.18, 2003/02/03 14:40:07 version 1.57.2.21, 2003/02/17 07:18:58
Line 98  public: Line 98  public:
         }          }
   
         /// get index-element          /// get index-element
         T& get(int index) {          T& get(int index) const {
                 if(!(index>=0 && index<count())) {                  if(!(index>=0 && index<count())) {
                         throw Exception(0,                           throw Exception(0, 
                                 Exception::undefined_source,                                  Exception::undefined_source,
Line 109  public: Line 109  public:
                 return felements[index];                  return felements[index];
         }          }
   
         T& operator [](int index) { return get(index); }          T& operator [](int index) const { return get(index); }
   
         /// put index-element          /// put index-element
         void put(int index, T& element) {          void put(int index, T& element) {
Line 137  public: Line 137  public:
                         if(callback(*current, info))                          if(callback(*current, info))
                                 return *current;                                  return *current;
   
                 return 0;//T(0);                  return T(0);
         }          }
   
 protected:  protected:
Line 175  public: Line 175  public:
         }          }
 };  };
   
 #define HERE1  inline void *operator new[] (size_t size, Pool& pool) {
 inline void *operator new(size_t size, Pool& pool) {   
         return pool.malloc(size);          return pool.malloc(size);
 }  }
   

Removed from v.1.57.2.18  
changed lines
  Added in v.1.57.2.21


E-mail: