Returns a block to the freelists, or deletes the block when it did not come from the chunks.
Synopsis
Declared in <support/allocators/pool.h>
void
Deallocate(
void* p,
std::size_t bytes,
std::size_t alignment) noexcept;
Return Value
a block to the freelists, or deletes the block when it did not come from the chunks.
Parameters
Name |
Description |
p |
Pointer to the block being returned. |
bytes |
Size in bytes of the block being returned. |
alignment |
Alignment in bytes that was used to allocate the block. |
Created with MrDocs