Bitcoin ABC 0.30.7
P2P Digital Currency
Public Types | List of all members
PoolAllocator< T, MAX_BLOCK_SIZE_BYTES, ALIGN_BYTES >::rebind< U > Struct Template Reference

The rebind struct here is mandatory because we use non type template arguments for PoolAllocator. More...

#include <pool.h>

Public Types

using other = PoolAllocator< U, MAX_BLOCK_SIZE_BYTES, ALIGN_BYTES >
 

Detailed Description

template<class T, std::size_t MAX_BLOCK_SIZE_BYTES, std::size_t ALIGN_BYTES = alignof(T)>
template<typename U>
struct PoolAllocator< T, MAX_BLOCK_SIZE_BYTES, ALIGN_BYTES >::rebind< U >

The rebind struct here is mandatory because we use non type template arguments for PoolAllocator.

See https://en.cppreference.com/w/cpp/named_req/Allocator#cite_note-2

Definition at line 327 of file pool.h.

Member Typedef Documentation

◆ other

template<class T , std::size_t MAX_BLOCK_SIZE_BYTES, std::size_t ALIGN_BYTES = alignof(T)>
template<typename U >
using PoolAllocator< T, MAX_BLOCK_SIZE_BYTES, ALIGN_BYTES >::rebind< U >::other = PoolAllocator<U, MAX_BLOCK_SIZE_BYTES, ALIGN_BYTES>

Definition at line 328 of file pool.h.


The documentation for this struct was generated from the following file: