Segregator.goodAllocSize

This method is defined only if at least one of the allocators defines it. The good allocation size is obtained from SmallAllocator if s <= threshold, or LargeAllocator otherwise. (If one of the allocators does not define goodAllocSize, the default implementation in this module applies.)

struct Segregator(size_t threshold, SmallAllocator, LargeAllocator)
version(StdDdoc)
static
size_t
goodAllocSize
(
size_t s
)

Meta