PoolAllocator<pair<COutPoint const, CCoinsCacheEntry>, 152>::PoolAllocator

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;
» more...

Not explicit so we can easily construct it with the correct resource

PoolAllocator(ResourceType* resource) noexcept;
» more...

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;
» more...

Parameters

NameDescription
otherThe allocator being copied.
resourceThe pool resource that this allocator forwards to.