Contents

setCapacityIncrement

Sets the storage increment of the array.

Declaration

virtual unsigned int setCapacityIncrement(
 unsigned increment);

Return Value

The new storage increment of the array, which may be different from the number requested.

Overview

An OSArray allocates storage for objects in multiples of the capacity increment. Calling this function does not immediately reallocate storage.

See Also

Miscellaneous