UnsafeHashMap.opIndex

Returns (a ref to) the value associated with a given key.

If there is no entry associated with the given key, dereferencing this function's return value leads to undefined behavior.

struct UnsafeHashMap(Key, Value)
ref inout
static if(Value.sizeof > 0)
inout(Value)
opIndex
()
(
auto ref const(Key) key
)

See Also