Typedef ripple::ThreadSafeObjectPoolAllocator¶
Typedef Documentation¶
-
template<typename
T
, typenameArena
= HeapArena>
usingripple
::
ThreadSafeObjectPoolAllocator
= Allocator<PoolAllocator<sizeof(T), std::max(alignof(T), alignof(ThreadSafeFreelist)), ThreadSafeFreelist>, Arena, AlignedHeapAllocator, VoidLock>¶ Defines an object pool allocator for objects of type T, which is thread-safe.
- Template Parameters
T
: The type of the objects to allocate from the pool.