The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
TreeMap.insert
containers
treemap
TreeMap
Inserts or overwrites the given key-value pair.
struct
TreeMap
(K, V, Allocator = Mallocator, alias less = "a < b", bool supportGC = shouldAddGCRange!K || shouldAddGCRange!V, size_t cacheLineSize = 64)
@
trusted
void
insert
(
const
K
key
,
V
value
)
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
Inserts or overwrites the given key-value pair.