Constructors
Synopses
Declared in <support/allocators/pool.h>
Copy constructor; shares the same backing resource.
constexpr
PoolAllocator(PoolAllocator<pair<COutPoint const, CCoinsCacheEntry>, 152> const& other) noexcept = default;
Not explicit so we can easily construct it with the correct resource
PoolAllocator(ResourceType* resource) noexcept;
Rebinding constructor; builds an allocator for a different value type that shares the same backing resource.
template<class U>
PoolAllocator(PoolAllocator<U, 152UL, 8UL> const& other) noexcept;
Parameters
Name |
Description |
other |
The allocator being copied. |
resource |
The pool resource that this allocator forwards to. |
Created with MrDocs