phobos-next ~master (2024-03-19T05:49:32Z)
Home
Dub
Repo
Sorted.insert
nxt
container
sorted
Sorted
Insert
value
into
this
.
bool
insert
(U value)
struct
Sorted
(A, bool uniqueElements = true, alias less = "a < b", SwapStrategy ss = SwapStrategy.unstable)
scope @
trusted
static if
(
isDynamic
)
bool
insert
(
U
)
(
in
U
value
)
if
(
isAssignable
!(
E
,
U
)
)
if
(
is
(
typeof
(
A.init
[]))
)
size_t
insert
(R values)
Return Value
Type:
bool
false
if
this
already contained
value
,
true
otherwise.
Meta
Source
See Implementation
nxt
container
sorted
Sorted
constructors
this
functions
capacity
insert
length
opSlice
reserve
source
unions
__anonymous
Insert value into this.