The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
TreeMap.get
containers
treemap
TreeMap
struct
TreeMap
(K, V, Allocator = Mallocator, alias less = "a < b", bool supportGC = shouldAddGCRange!K || shouldAddGCRange!V, size_t cacheLineSize = 64)
inout @
trusted
auto
get
(
this
This
)
(
const
K
key
,
lazy
V
defaultValue
)
Return Value
Type:
auto
the value associated with the given key, or the given
defaultValue
.
Meta
Source
See Implementation
containers
treemap
TreeMap
aliases
opSlice
constructors
this
functions
back
byKey
byKeyValue
byValue
containsKey
empty
front
get
getOrAdd
insert
keys
length
opIndex
opIndexAssign
remove
values