Segregator.expand

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

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

Meta