Diff for /parser3/src/include/pa_array.h between versions 1.12 and 1.13

version 1.12, 2001/01/29 20:46:21 version 1.13, 2001/02/11 11:27:24
Line 20 Line 20
   
 #include <stddef.h>  #include <stddef.h>
   
   #include "pa_pool.h"
 #include "pa_types.h"  #include "pa_types.h"
 #include "pa_string.h"  #include "pa_string.h"
   
 class Pool;  class Array : public Pooled {
   
 class Array {  
 public:  public:
   
         typedef void Item;          typedef void Item;
Line 37  public: Line 36  public:
   
 public:  public:
   
         void *operator new(size_t size, Pool& apool);  
         Array(Pool& apool, int initial_rows=CR_INITIAL_ROWS_DEFAULT);          Array(Pool& apool, int initial_rows=CR_INITIAL_ROWS_DEFAULT);
   
         int size() const { return fused_rows; }          int size() const { return fused_rows; }
Line 51  public: Line 49  public:
                 return static_cast<const String *>(get(index));                   return static_cast<const String *>(get(index)); 
         }          }
   
 protected:  
   
         // the pool I'm allocated on  
         Pool& pool;  
   
 private:  private:
   
         struct Chunk {          struct Chunk {

Removed from v.1.12  
changed lines
  Added in v.1.13


E-mail: