58 #ifndef GAUDIKERNEL_AllocatorPool_h 59 #define GAUDIKERNEL_AllocatorPool_h 1 83 inline void Free(
void* b );
85 inline unsigned int Size()
const;
134 PoolLink* p = static_cast<PoolLink*>( b );
constexpr auto size(const T &, Args &&...) noexcept
void Grow()
Make pool larger.
PoolChunk(unsigned int sz)
std::unique_ptr< char[]> mem
unsigned int Size() const
Return storage size.
void * Alloc()
Allocate one element.
void Free(void *b)
Return an element back to the pool.
Forward declarations for the functions in SerializeSTL.h.