Element type of the array being created.
The allocator used for getting memory.
A reference to the array being changed.
New array length.
$(D_KEYWORD true) upon success, $(D_KEYWORD false) if memory could not be reallocated. In the latter
int[] p; defaultAllocator.resizeArray(p, 20); assert(p.length == 20); defaultAllocator.resizeArray(p, 30); assert(p.length == 30); defaultAllocator.resizeArray(p, 10); assert(p.length == 10); defaultAllocator.resizeArray(p, 0); assert(p is null);