Segregator.reallocate

This method is defined only if at least one of the allocators defines it. If SmallAllocator defines reallocate and b.length <= threshold && s <= threshold, the call is forwarded to SmallAllocator. If LargeAllocator defines expand and b.length > threshold && s > threshold, the call is forwarded to LargeAllocator. Otherwise, the call returns false.

struct Segregator(size_t threshold, SmallAllocator, LargeAllocator)
version(StdDdoc)
bool
reallocate
(
ref void[] b
,
size_t s
)

Meta