ArenaAllocator
This allocator takes an existing allocator, wraps it, and provides an interface where you can allocate and then free it all together. Calls to free an individual item only free the item if it was the most recent allocation, otherwise calls to free do nothing.
Fields of this type
Fields
Inner state of ArenaAllocator.
Types
Functions in this namespace
Functions
- queryCapacity
- Queries the current memory use of this arena.
- reset
- Resets the arena allocator and frees all allocated memory.