--- parser3/src/include/pa_array.h 2001/02/22 08:25:51 1.18 +++ parser3/src/include/pa_array.h 2001/03/10 16:34:34 1.21 @@ -1,5 +1,9 @@ /* - $Id: pa_array.h,v 1.18 2001/02/22 08:25:51 paf Exp $ + Parser + Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) + Author: Alexander Petrosyan + + $Id: pa_array.h,v 1.21 2001/03/10 16:34:34 paf Exp $ */ /* @@ -45,7 +49,9 @@ public: return fused_rows; } Array& operator += (Item *src); - Array& append_array(const Array& src); + // Array replacement + Array& operator += (const Item *src) { return *this+=const_cast(src); } + Array& append_array(const Array& src, int offset=0); Item *quick_get(int index) const { // considering these true: // index increments from 0 to size()-1