Dynamic array base class.
Dynamic array base class. This is an auxiliary base class for DArray and TArray implementing some shared functions independent of the type of array elements. It's not supposed to be constructed by hands. Use DArray and TArray instead.
int lbound() const
int hbound() const
void empty()
void touch(int n)
int lineno=1;
DArray<GString> a;
while (! end_of_file()) {
a.touch[lineno];
a[lineno++] = read_a_line();
}
void resize(int hibound)
void resize(int lobound, int hibound)
hibound - upper bound of the new subscript range. void shift(int disp)
void del(int n, unsigned int howmany=1)
howmany - number of elements to delete.
Alphabetic index HTML hierarchy of classes or Java