FreeList.minimize

Nonstandard function that minimizes the memory usage of the freelist by freeing each element in turn. Defined only if ParentAllocator defines deallocate.

struct FreeList(ParentAllocator, size_t minSize, size_t maxSize = minSize, Flag!"adaptive" adaptive = No.adaptive)
static if(__traits(hasMember, ParentAllocator, "deallocate") && !unchecked)
void
minimize
()

Meta