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 growScaleP = 3, uint growScaleQ = 2)
pragma(inline) static
typeof(this)
withCapacity
()
(
in size_t capacity
)
if (
smallBinMinCapacity >= 1
)

Meta