Forwards all allocations/deallocations to the PoolResource.
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;
| Name | Description |
|---|---|
rebind | 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 |
| Name | Description |
|---|---|
ResourceType | The pool resource type that backs this allocator. |
value_type | The type of object this allocator allocates. |
| Name | Description |
|---|---|
PoolAllocator [constructor] | Constructors |
operator= | Copy assignment; shares the same backing resource. |
allocate | Forwards each call to the resource. |
deallocate | Forwards each call to the resource. |
resource | Access the backing pool resource. |
| Name | Description |
|---|---|
PoolAllocator<pair<COutPoint const, CCoinsCacheEntry>, 152> | Forwards all allocations/deallocations to the PoolResource. |
| Name | Description |
|---|---|
PoolAllocator | Forwards all allocations/deallocations to the PoolResource. |
| Name | Description |
|---|---|
operator== | Compares two pool allocators for equality. |