TypedAllocator.dispose

void dispose(T)(T * p)

Destroys and then deallocates (using allocatorFor!T) the object pointed to by a pointer, the class object referred to by a class or interface reference, or an entire array. It is assumed the respective entities had been allocated with the same allocator.

void dispose(T)(T p) if (is(T == class) || is(T == interface))

Ditto

void dispose(T)(T[] array)

Ditto