Forwards all allocations/deallocations to the PoolResource.
Synopsis
Declared in <support/allocators/pool.h>
template<
class T,
std::size_t MAX_BLOCK_SIZE_BYTES,
std::size_t ALIGN_BYTES = alignof(T)>
class PoolAllocator;
Types
Name |
Description |
The rebind struct here is mandatory because we use non type template arguments for PoolAllocator. See https://en.cppreference.com/w/cpp/named_req/Allocator#cite_note‐2 |
Type Aliases
Name |
Description |
The pool resource type that backs this allocator. |
|
The type of object this allocator allocates. |
Member Functions
Name |
Description |
|
Constructors |
Copy assignment; shares the same backing resource. |
|
Forwards each call to the resource. |
|
Forwards each call to the resource. |
|
Access the backing pool resource. |
Specializations
Name |
Description |
Forwards all allocations/deallocations to the PoolResource. |
Friends
Name |
Description |
|
Forwards all allocations/deallocations to the PoolResource. |
Non-Member Functions
Name |
Description |
Compares two pool allocators for equality. |
Created with MrDocs