automem.allocator

Custom versions of std.experimental.allocator functions (unfortunately)

Members

Functions

dispose
void dispose(A alloc, T* p)
void dispose(A alloc, T p)
void dispose(A alloc, T[] array)

Destroys and then deallocates (using alloc) 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.

Meta