Sortable array.
Sortable array. Template class GSArray<TYPE> implements sorting routines for the array elements. These sorting routines are implemented in a subclass in order to reduce the template instantiation overhead for class GArray. Besides the TYPE constructors and operators required by class GArray, this template class must be able to access a less-or-equal comparison operator: TYPE::operator<=(const TYPE&).
GSArray(int hibound)
GSArray(int lobound, int hibound)
hibound - upper bound of the initial subscript range. GSArray(const GContainer<TYPE> &gc)
GSArray(const GArray<TYPE> &gc)
void sort()
void sort(int lo, int hi)
hi - high bound for the subscripts of the elements to sort.
Alphabetic index HTML hierarchy of classes or Java