GetUpperBound

int GetUpperBound(void) const;

Comments

Returns the base-zero, upper-bound index of the array. If the array is empty, then –1 is returned.