[#PoolAllocator-04-2constructor-09] = xref:PoolAllocator-04.adoc[PoolAllocator<pair<COutPoint const, CCoinsCacheEntry>, 152>]::PoolAllocator :relfileprefix: ../ :mrdocs: Constructors == Synopses Declared in `<support/allocators/pool.h>` Copy constructor; shares the same backing resource. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:PoolAllocator-04/2constructor-04.adoc[PoolAllocator](xref:PoolAllocator-0e.adoc[PoolAllocator<pair<COutPoint const, CCoinsCacheEntry>, 152>] const& other) noexcept = default; ---- [.small]#xref:PoolAllocator-04/2constructor-04.adoc[_» more..._]# Not explicit so we can easily construct it with the correct resource [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:PoolAllocator-04/2constructor-03.adoc[PoolAllocator](xref:PoolAllocator-04/ResourceType.adoc[ResourceType]* resource) noexcept; ---- [.small]#xref:PoolAllocator-04/2constructor-03.adoc[_» more..._]# Rebinding constructor; builds an allocator for a different value type that shares the same backing resource. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class U> xref:PoolAllocator-04/2constructor-07.adoc[PoolAllocator](xref:PoolAllocator-0e.adoc[PoolAllocator<U, 152UL, 8UL>] const& other) noexcept; ---- [.small]#xref:PoolAllocator-04/2constructor-07.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *other* | The allocator being copied. | *resource* | The pool resource that this allocator forwards to. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#