Struct HashMap
struct HashMap(TKey, TValue, Traits, Allocator)
;
Constructors
Name | Description |
---|---|
this
(allocator)
|
Fields
Name | Type | Description |
---|---|---|
m_allocator
|
HashMap | |
m_length
|
size_t | |
m_resizing
|
bool | |
m_table
|
HashMap |
Properties
Name | Type | Description |
---|---|---|
allocator [get]
|
HashMap | |
length [get]
|
size_t |
Methods
Name | Description |
---|---|
AW
(a)
|
|
byKey
()
|
|
byKey
()
|
|
byKeyValue
()
|
|
byKeyValue
()
|
|
bySlot
()
|
|
bySlot
()
|
|
byValue
()
|
|
byValue
()
|
|
clear
()
|
|
findIndex
(key)
|
|
findInsertIndex
(key)
|
|
get
(key, default_value)
|
|
get
(key, default_value)
|
|
getNothrow
(key, default_value)
|
Workaround #12647 |
grow
(amount)
|
|
opApply
(del)
|
|
opBinaryRight
(key)
|
|
opIndex
(key)
|
|
opIndexAssign
(value, key)
|
|
remove
(key)
|
|
resize
(new_size)
|
Inner structs
Name | Description |
---|---|
TableEntry
|
Aliases
Name | Description |
---|---|
AllocatorInstanceType
|
|
AllocatorType
|
|
Key
|
|
Value
|