--- parser3/src/include/pa_array.h 2003/01/27 15:35:24 1.57.2.10 +++ parser3/src/include/pa_array.h 2003/01/28 11:18:01 1.57.2.12 @@ -8,7 +8,7 @@ #ifndef PA_ARRAY_H #define PA_ARRAY_H -static const char* IDENT_ARRAY_Y="$Date: 2003/01/27 15:35:24 $"; +static const char* IDENT_ARRAY_Y="$Date: 2003/01/28 11:18:01 $"; #include "pa_pool.h" #include "pa_exception.h" @@ -98,12 +98,14 @@ public: return felements[index]; } + T operator [](int index) const { return get(index); } + /// put index-element void put(int index, T element) { - if(!(index>=0 && index=0 && index