--- parser3/src/include/pa_array.h 2003/11/20 16:32:12 1.61 +++ parser3/src/include/pa_array.h 2005/11/25 11:12:50 1.66 @@ -1,14 +1,14 @@ /** @file 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 (http://paf.design.ru) */ #ifndef PA_ARRAY_H #define PA_ARRAY_H -static const char* IDENT_ARRAY_Y="$Date: 2003/11/20 16:32:12 $"; +static const char * const IDENT_ARRAY_Y="$Date: 2005/11/25 11:12:50 $"; // includes @@ -89,7 +89,7 @@ public: /// append to array Array& operator += (T src) { if(is_full()) - expand(2); + expand(fallocated/*C# ArrayList does this, why we can't?*/); felements[fused++]=src; @@ -139,19 +139,19 @@ public: /// get index-element T get(size_t index) const { - assert(index>=0 && index=0 && index=0 && index