Describes dynamic arrays.
A number of classes are provided for constructing dynamically expandable arrays in which the memory for the array elements is allocated from the heap.
The elements of an array can consist of any object, but in practice the most common types are:
The array classes are all templated; the template parameter defines the type of object which is to form an array element.
An array can consist of elements which have variable lengths or elements which all have the same length, depending on the specific class used.
Logically, each element of an array has a definite position within that array but the physical organisation of the elements depends on the specific array class.