phobos-next ~master (2022-05-18T09:58:38.2169964)
Dub
Repo
SSOHashMapOrSet.insert
nxt
sso_hashmap_or_hashset
SSOHashMapOrSet
Insert
element
, being either a key-value (map-case) or a just a key (set-case).
InsertionStatus
insert
(T element)
struct
SSOHashMapOrSet
(K, V = void, alias Allocator = null, alias hasher = hashOf, uint smallBinMinCapacity = 1, uint capacityScaleNumerator = 2, uint capacityScaleDenominator = 1)
pragma(
inline
)
InsertionStatus
insert
(
T
element
)
if
(
smallBinMinCapacity
>= 1
)
InsertionStatus
insert
(K key, V value)
Meta
Source
See Implementation
nxt
sso_hashmap_or_hashset
SSOHashMapOrSet
aliases
ConstThis
ElementType
InsertionStatus
KeyType
MutableThis
ValueType
destructors
~this
functions
autoinitIncAt
binCounts
clear
contains
dup
get
insert
insertMoveWithoutBinCountGrowth
insertN
opBinaryRight
opEquals
opIndex
opIndexAssign
opSlice
rehash
remove
reserveExtra
manifest constants
hasValue
keyEqualPred
smallBinCapacity
postblits
this(this)
properties
binCount
byKey
byKeyValue
byValue
empty
length
static functions
keyOf
keyRefOf
valueOf
withCapacity
withElements
structs
BinCounts
CT
T
Insert element, being either a key-value (map-case) or a just a key (set-case).