--- parser3/src/include/pa_array.h 2001/03/19 16:43:59 1.25 +++ parser3/src/include/pa_array.h 2001/03/21 14:06:43 1.28 @@ -1,9 +1,11 @@ /** @file - Parser + Parser: array class decl. + Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) + Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_array.h,v 1.25 2001/03/19 16:43:59 paf Exp $ + $Id: pa_array.h,v 1.28 2001/03/21 14:06:43 paf Exp $ */ #ifndef PA_ARRAY_H @@ -18,17 +20,16 @@ /** Pooled Array. - Internal structure: @verbatim - - Array Chunk0 - ====== ======== - head--------------->[ptr] - append_here-------->[ptr] - link_row ........ - . . - . [ptr] - ...........>[link to the next chunk] - + Internal structure: + @verbatim + Array Chunk0 + ====== ======== + head--------------->[ptr] + append_here-------->[ptr] + link_row ........ + . . + . [ptr] + ...........>[link to the next chunk] @endverbatim */ @@ -85,7 +86,7 @@ public: void put(int index, Item *item); /// convinient way to get strings from Array. I long for Array const String *get_string(int index) const { - return static_cast(get(index)); + return const_cast(static_cast(get(index))); } private: