MemAlloc

Stores state of allocations at specific scope

version(LWDR_TrackMem)
struct MemAlloc {}

Members

Functions

free
void free()

free allocations until trackedAllocations.length matches this.allocsAtScope.

Variables

allocsAtScope
size_t allocsAtScope;

number of allocations when this struct was initiated

Meta