Descriptor arrays provide a means of:
deleting chosen elements using Delete()
deleting all elements using Reset()
.
The effect of these functions depends on the type of descriptor array.
For arrays of non-modifiable pointer descriptors, i.e.
CPtrCArray
types, deleting and resetting removes the
non-modifiable pointer descriptors from the array but does not
delete the data or descriptors that they point to.
For arrays of pointers, i.e. CDesCArrayFlat
and
CDesCArraySeg
types, deleting and resetting removes the
pointers from the array and also deletes the heap descriptors
that they point to.