Next: Internal data structures
Up: ResizeArray
Previous: Description
- ResizeArray::(int = 10, float = 2.0)
The first argument is the initial internal size of the array, i.e. the
initial number of elements for which to allocate memory (although the
initial external size of the array will be zero). The second argument
is the resizing factor: when an element of the array beyond the
size the internal array is accessed, the array will be made larger by
multiplying the current internal size by the rescaling factor. This
must be larger than 1.
Justin Gullingsrud
Tue Apr 6 09:26:48 CDT 1999