UnsafeHashMap.get

Looks up an entry in the table's internal storage.

Yields pointers to the hash table's internal storage, which may be invalidated by any rehashes.

struct UnsafeHashMap(Key, Value)
inout
bool
get
()
(
auto ref const(Key) needle
,
out inout(Key)* keyp
,
out inout(Value)* valp
)

Parameters

needle const(Key)

Key which designates the entry being looked up.

keyp inout(Key)*

Set to entry key's address (or null when not found).

valp inout(Value)*

Set to entry value's address (or null when it is a zero-sized type).

Return Value

Type: bool

Whether or not the entry was found in the table.