phobos-next ~master (2024-03-19T05:49:32Z)
Home
Dub
Repo
RadixTree.insert
nxt
container
trie
RadixTree
Insert
key
.
bool
insert
(ElementType e)
bool
insert
(MK key, V value)
bool
insert
(MK key)
struct
RadixTree
(K, V, A = Mallocator)
@
nogc
static if
(!(
RawTree.hasValue
))
bool
insert
(
const
scope
MK
key
)
if
(
isTrieableKeyType
!(
K
) &&
isAllocator
!
A
)
Return Value
Type:
bool
true
if
key
wasn't previously added,
false
otherwise.
Meta
Source
See Implementation
nxt
container
trie
RadixTree
aliases
ElementType
KeyType
MK
ValueType
constructors
this
functions
byKey
byKeyValue
contains
dup
insert
opBinaryRight
opIndex
opIndexAssign
opSlice
prefix
upperBound
structs
E
Insert key.