collections-d ~master (2020-04-08T19:11:38Z)
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
constructors
this
functions
arrayOf
back
empty
front
has
length
moveAt
moveFront
opIndex
opSlice
popBack
popFront
put
remove
removeByElem
reserve
save
sliceByElem
which
Sets the reserve of the underlying array and returns the current reserve.