Bitcoin ABC 0.26.3
P2P Digital Currency
|
#include <array>
#include <cassert>
#include <cstddef>
#include <list>
#include <memory>
#include <new>
#include <type_traits>
#include <utility>
Go to the source code of this file.
Classes | |
class | PoolResource< MAX_BLOCK_SIZE_BYTES, ALIGN_BYTES > |
A memory resource similar to std::pmr::unsynchronized_pool_resource, but optimized for node-based containers. More... | |
struct | PoolResource< MAX_BLOCK_SIZE_BYTES, ALIGN_BYTES >::ListNode |
In-place linked list of the allocations, used for the freelist. More... | |
class | PoolAllocator< T, MAX_BLOCK_SIZE_BYTES, ALIGN_BYTES > |
Forwards all allocations/deallocations to the PoolResource. More... | |
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. More... | |
Functions | |
template<class T1 , class T2 , std::size_t MAX_BLOCK_SIZE_BYTES, std::size_t ALIGN_BYTES> | |
bool | operator== (const PoolAllocator< T1, MAX_BLOCK_SIZE_BYTES, ALIGN_BYTES > &a, const PoolAllocator< T2, MAX_BLOCK_SIZE_BYTES, ALIGN_BYTES > &b) noexcept |
template<class T1 , class T2 , std::size_t MAX_BLOCK_SIZE_BYTES, std::size_t ALIGN_BYTES> | |
bool | operator!= (const PoolAllocator< T1, MAX_BLOCK_SIZE_BYTES, ALIGN_BYTES > &a, const PoolAllocator< T2, MAX_BLOCK_SIZE_BYTES, ALIGN_BYTES > &b) noexcept |
|
noexcept |
|
noexcept |