HashMap.get

get with default value it infers @safe, @nogc from user data: do not return ptr and do not thow Returns: value from hash, or defaultValue if key not found (see also getOrAdd). defaultValue can be callable.

struct HashMap(K, V, Allocator = Mallocator, bool GCRangesAllowed = true)
const
V
get
(
T
)