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

Public functions

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