std.experimental.allocator.building_blocks.allocator_list

Members

Structs

AllocatorList
struct AllocatorList(Factory, BookkeepingAllocator = GCAllocator)
template AllocatorList(alias factoryFunction, BookkeepingAllocator = GCAllocator)

Given an object factory of type Factory or a factory function factoryFunction, and optionally also BookkeepingAllocator as a supplemental allocator for bookkeeping, AllocatorList creates an allocator that lazily creates as many allocators are needed for satisfying client allocation requests.

Templates

Meta