T *array; // allocate from this array int length; // length of array int start; // index of next item to allocate