[#PoolAllocator-04] = xref:PoolAllocator-0e.adoc[PoolAllocator]<pair<COutPoint const, CCoinsCacheEntry>, 152> :mrdocs: Forwards all allocations/deallocations to the PoolResource. == Synopsis Declared in `<support/allocators/pool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<> class xref:PoolAllocator-0e.adoc[PoolAllocator]<pair<COutPoint const, CCoinsCacheEntry>, 152>; ---- == Types [cols="1,4"] |=== | Name| Description | xref:PoolAllocator-04/rebind.adoc[`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 |=== == Type Aliases [cols="1,4"] |=== | Name| Description | xref:PoolAllocator-04/ResourceType.adoc[`ResourceType`] | The pool resource type that backs this allocator. | xref:PoolAllocator-04/value_type.adoc[`value_type`] | The type of object this allocator allocates. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:PoolAllocator-04/2constructor-09.adoc[`PoolAllocator`] [.small]#[constructor]# | Constructors | xref:PoolAllocator-04/operator_assign.adoc[`operator=`] | Copy assignment; shares the same backing resource. | xref:PoolAllocator-04/allocate.adoc[`allocate`] | Forwards each call to the resource. | xref:PoolAllocator-04/deallocate.adoc[`deallocate`] | Forwards each call to the resource. | xref:PoolAllocator-04/resource.adoc[`resource`] | Access the backing pool resource. |=== == Friends [cols="1,4"] |=== | Name| Description | `xref:PoolAllocator-0e.adoc[PoolAllocator]` | Forwards all allocations/deallocations to the PoolResource. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#