collections-d ~master (2021-12-22T13:54:35.687664)
Dub
Repo
SortedList.reserve
collections
sortedlist
SortedList
Sets the reserve of the underlying array and returns the current reserve.
struct
SortedList
(E, alias cmp = "a < b", bool allowDuplicates = true, alias equal = "a == b")
@
property
@
safe
pure nothrow
size_t
reserve
(
size_t
amount
)
Meta
Source
See Implementation
collections
sortedlist
SortedList
aliases
opDollar
constructors
this
functions
has
hasRange
moveAt
moveFront
opBinary
opBinaryRight
opIndex
opOpAssign
opSlice
popBack
popFront
put
remove
removeByElem
sliceByElem
toString
which
properties
arrayOf
back
empty
front
length
reserve
save
Sets the reserve of the underlying array and returns the current reserve.