Kiwaku 0.1-beta
Containers Well Made
 
Loading...
Searching...
No Matches

◆ deallocate() [2/2]

void kwk::deallocate ( heap_allocator const &  ,
void *  ptr 
)
inlinenoexcept

Deallocates data on the heap.

Free the heap memory from a pointer. If the deallocated memory was not allocated by an instance of kwk::heap_allocator, the behavior is undefined.

Parameters
ptrPointer to the memory to deallocate