DynamicArrays
—dynamic arraysThe example shows how dynamic arrays are constructed and used. It
shows a number of operations on a general fixed-length array. The array uses a
flat buffer. The example also shows operations on an array of pointers to
CBase
-derived objects, using the specialised array
CArrayPtrFlat
.
CArrayFixFlat<class T>
: Fixed length flat
array of class T
type objects
CArrayPtrFlat<class T>
: Array of pointers
to class T
type objects using a flat array buffer