The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
TreeMap.opIndex
containers
treemap
TreeMap
Supports
treeMap
key
syntax.
struct
TreeMap
(K, V, Allocator = Mallocator, alias less = "a < b", bool supportGC = shouldAddGCRange!K || shouldAddGCRange!V, size_t cacheLineSize = 64)
inout
auto
opIndex
(
this
This
)
(
const
K
key
)
Throws
RangeError if the key does not exist.
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
Supports treeMapkey syntax.