disposeMultidimensionalArray
Destroys and then deallocates a multidimensional array, assuming it was created with makeMultidimensionalArray and the same allocator was used.
Parameters
T | element type of an element of the multidimensional array |
alloc | the allocator used for getting memory |
array | the multidimensional array that is to be deallocated |