AllocatorList.reallocate

Defined only if Allocator.reallocate is defined. Finds the owner of b and calls reallocate for it. If that fails, calls the global reallocate, which allocates a new block and moves memory.

struct AllocatorList(Factory, BookkeepingAllocator = GCAllocator)
static if(__traits(hasMember, Allocator, "reallocate"))
bool
reallocate
(
ref void[] b
,
size_t s
)

Meta