template<typename T>
slang::TypedBumpAllocator class

A strongly-typed version of the BumpAllocator, which has the additional behavior of calling destructors on all elements when the allocator itself is destructed.

Base classes

class BumpAllocator
BumpAllocator - Fast O(1) allocator.

Public functions

template<typename... Args>
T* emplace(Args && ... args)
Construct a new item using the allocator.