- dimX
- The new size of the allocation.
Resize a 1D allocation. The contents of the allocation are preserved. If new elements are allocated objects are created with null contents and the new region is otherwise undefined.
If the new region is smaller the references of any objects outside the new region will be released.
A new type will be created with the new dimension.