SSOHashMapOrSet.withCapacity

Make with room for storing at least capacity number of elements.

struct SSOHashMapOrSet(K, V = void, alias Allocator = null, alias hasher = hashOf, uint smallBinMinCapacity = 1, uint capacityScaleNumerator = 2, uint capacityScaleDenominator = 1)
pragma(inline) static
typeof(this)
withCapacity
()
(
size_t capacity
)
if (
smallBinMinCapacity >= 1
)

Meta