Diff for /parser3/src/include/pa_array.h between versions 1.63 and 1.66

version 1.63, 2003/11/25 12:58:53 version 1.66, 2005/11/25 11:12:50
Line 1 Line 1
 /** @file  /** @file
         Parser: Array & Array_iterator classes decls.          Parser: Array & Array_iterator classes decls.
   
         Copyright (c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com)          Copyright (c) 2001-2005 ArtLebedev Group (http://www.artlebedev.com)
         Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)          Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
 */  */
   
Line 89  public: Line 89  public:
         /// append to array          /// append to array
         Array& operator += (T src) {          Array& operator += (T src) {
                 if(is_full())                  if(is_full())
                         expand(2);                          expand(fallocated/*C# ArrayList does this, why we can't?*/);
   
                 felements[fused++]=src;                  felements[fused++]=src;
   

Removed from v.1.63  
changed lines
  Added in v.1.66


E-mail: