Function HashMap.put

put pair (k,v) into hash.

V* put(K) (
  K k,
  V v
);

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.

Returns

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