Returns a block to the freelists, or deletes the block when it did not come from the chunks.
Declared in <support/allocators/pool.h>
void
Deallocate(
void* p,
std::size_t bytes,
std::size_t alignment) noexcept;
a block to the freelists, or deletes the block when it did not come from the chunks.
| 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. |