#include "tensorstore/data_type.h"
void tensorstore::DestroyAndFree(ptrdiff_t nDataType rvoidptr);

Frees memory allocated by AllocateAndConsruct.

Equivalent to:

r->destroy(n, ptr); ::operator delete(ptr, std::align_val_t(r->alignment));

params n The number of elements that were allocated and constructed. params r The element type. params ptr Pointer to the allocated array of n elements.