HashMap.this

Construct a hashmap reserving a minimum of :minimumSize: space for the bucket list. The actual space allocated may be some number larger than the requested size, but it will be enough to fit as many items as requested without another allocation.

struct HashMap(K, V)
@safe pure nothrow
this
()
if (
isAssignmentCopyable!(Unqual!K) &&
isAssignmentCopyable!(Unqual!V)
)

Parameters

minimumSize
Type: size_t

The minimum size for the hashmap.

Meta