spasm v0.2.0-beta.8 (2020-09-12T08:27:15Z)
Dub
Repo
DynamicArray.reserve
spasm
rt
array
DynamicArray
Ensures sufficient capacity to accommodate
n
elements.
struct
DynamicArray
(T, Allocator = SpasmGCAllocator)
@
trusted
void
reserve
(
size_t
n
)
Meta
Source
See Implementation
spasm
rt
array
DynamicArray
aliases
AppendT
AppendTypeOfThis
insert
insertAnywhere
opDollar
put
constructors
this
destructors
~this
functions
back
empty
front
insertBack
length
opBinary
opIndex
opIndexAssign
opOpAssign
opSlice
opSliceAssign
ptr
remove
removeBack
reserve
resize
shrinkTo
postblits
this(this)
variables
allocator
Ensures sufficient capacity to accommodate n elements.