phobos-next v0.3.9 (2020-08-07T21:50:30Z)
Home
Dub
Repo
OpenHashMap.insert
nxt
open_hashmap
OpenHashMap
Insert or replace
value
at
key
.
InsertionStatus
insert
(T element)
InsertionStatus
insert
(K key, V value)
struct
OpenHashMap
(K, V = void, alias hasher = hashOf, string keyEqualPred = defaultKeyEqualPredOf!(K), alias Allocator = Mallocator.instance, bool borrowChecked = false, bool useSmallLinearSearch = true, bool usePrimeCapacity = false)
InsertionStatus
insert
()
(
K
key
,
V
value
)
if
(
isNullable
!
K
)
Meta
Source
See Implementation
nxt
open_hashmap
OpenHashMap
aliases
KeyType
ValueType
constructors
this
destructors
~this
enums
InsertionStatus
functions
averageProbeCount
binCount
clear
contains
containsUsingLinearSearch
containsWithHoleMoving
dup
empty
get
getKeyRef
insert
insertAndReturnElement
insertN
length
opEquals
opIndex
opIndexAssign
rawStore
remove
reserveExtra
totalProbeCount
tryGetElementFromCtorParams
manifest constants
growScaleP
growScaleQ
hasAddressLikeKey
hasValue
postblits
this(this)
static functions
holeKeyConstant
keyOf
valueOf
withCapacity
withElements
structs
T
templates
isScopedKeyType
variables
assumeNonFullHaystack
growInPlaceFlag
Insert or replace value at key.