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