[#PoolAllocator-0e-2constructor-0e] = xref:PoolAllocator-0e.adoc[PoolAllocator]::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"] ---- xref:PoolAllocator-0e/2constructor-05.adoc[PoolAllocator](xref:PoolAllocator-0e.adoc[PoolAllocator] const& other) noexcept = default; ---- [.small]#xref:PoolAllocator-0e/2constructor-05.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-0e/2constructor-09.adoc[PoolAllocator](xref:PoolAllocator-0e.adoc[PoolAllocator<U, MAX_BLOCK_SIZE_BYTES, ALIGN_BYTES>] const& other) noexcept; ---- [.small]#xref:PoolAllocator-0e/2constructor-09.adoc[_» more..._]# Not explicit so we can easily construct it with the correct resource [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:PoolAllocator-0e/2constructor-03.adoc[PoolAllocator](xref:PoolAllocator-0e/ResourceType.adoc[ResourceType]* resource) noexcept; ---- [.small]#xref:PoolAllocator-0e/2constructor-03.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]#