HashMap.put

put pair (k,v) into hash.

it must be @safe, it inherits @nogc properties from K and V It can resize table if table is overloaded or has too much deleted entries.

struct HashMap(K, V, Allocator = Mallocator, bool GCRangesAllowed = true)
put
(
K
)
(
K k
,
V v
)

Return Value

Type: auto

pointer to placed value (pointer is valid until next resize).

Meta