The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
HashMap.this
containers
hashmap
HashMap
Use the given
allocator
for allocations.
this
(Allocator allocator)
struct
HashMap
(K, V, Allocator = Mallocator, alias hashFunction = generateHash!K, bool supportGC = shouldAddGCRange!K || shouldAddGCRange!V, bool storeHash = true)
pure nothrow @
nogc
@
safe
static if
(
stateSize!Allocator != 0
)
this
(
Allocator
allocator
)
this
(size_t bucketCount, Allocator allocator)
this
(size_t bucketCount)
Meta
Source
See Implementation
containers
hashmap
HashMap
aliases
opSlice
constructors
this
functions
byKey
byKeyValue
byValue
clear
containsKey
empty
get
getOrAdd
keys
length
opApply
opBinaryRight
opIndex
opIndexAssign
remove
values
Use the given allocator for allocations.