slang/util/BumpAllocator.h file

Fast allocator based on pointer bumping.

Namespaces

namespace slang
Root namespace.

Classes

class slang::BumpAllocator
BumpAllocator - Fast O(1) allocator.
template<typename T>
class slang::TypedBumpAllocator
A strongly-typed version of the BumpAllocator, which has the additional behavior of calling destructors on all elements when the allocator itself is destructed.