[#PoolAllocator-04]
= xref:PoolAllocator-0e.adoc[PoolAllocator]&lt;pair&lt;COutPoint const, CCoinsCacheEntry&gt;, 152&gt;
:mrdocs:

Forwards all allocations&sol;deallocations to the PoolResource&period;

== Synopsis

Declared in `&lt;support&sol;allocators&sol;pool&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;&gt;
class xref:PoolAllocator-0e.adoc[PoolAllocator]&lt;pair&lt;COutPoint const, CCoinsCacheEntry&gt;, 152&gt;;
----

== 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&period; See https&colon;&sol;&sol;en&period;cppreference&period;com&sol;w&sol;cpp&sol;named&lowbar;req&sol;Allocator&num;cite&lowbar;note&hyphen;2
|===


== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:PoolAllocator-04/ResourceType.adoc[`ResourceType`] 
| The pool resource type that backs this allocator&period;
| xref:PoolAllocator-04/value_type.adoc[`value&lowbar;type`] 
| The type of object this allocator allocates&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:PoolAllocator-04/2constructor-09.adoc[`PoolAllocator`]         [.small]#[constructor]#
| Constructors
| xref:PoolAllocator-04/operator_assign.adoc[`operator&equals;`] 
| Copy assignment&semi; shares the same backing resource&period;
| xref:PoolAllocator-04/allocate.adoc[`allocate`] 
| Forwards each call to the resource&period;
| xref:PoolAllocator-04/deallocate.adoc[`deallocate`] 
| Forwards each call to the resource&period;
| xref:PoolAllocator-04/resource.adoc[`resource`] 
| Access the backing pool resource&period;
|===


== Friends

[cols="1,4"]
|===
| Name| Description
| `xref:PoolAllocator-0e.adoc[PoolAllocator]`
| Forwards all allocations&sol;deallocations to the PoolResource&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
