48 #ifndef GAUDIKERNEL_AllocatorPool_h 49 #define GAUDIKERNEL_AllocatorPool_h 1 73 inline void Free(
void* b );
75 inline unsigned int Size()
const;
124 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.