slang/util/PoolAllocator.h file

An allocator that saves recycled objects in a pool.

Namespaces

namespace slang
Root namespace.

Classes

template<typename T, size_t Size = sizeof(T), size_t Align = alignof(T)>
class slang::PoolAllocator
A simple pool allocator built on top of a bump allocator.