The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
DynamicArray.reserve
containers
dynamicarray
DynamicArray
Ensures sufficient capacity to accommodate
n
elements.
struct
DynamicArray
(T, Allocator = Mallocator, bool supportGC = shouldAddGCRange!T)
void
reserve
(
size_t
n
)
Meta
Source
See Implementation
containers
dynamicarray
DynamicArray
aliases
AppendT
AppendTypeOfThis
insert
insertAnywhere
opDollar
put
constructors
this
functions
back
empty
front
insertBack
length
opBinary
opIndex
opIndexAssign
opOpAssign
opSlice
opSliceAssign
ptr
remove
removeBack
reserve
resize
Ensures sufficient capacity to accommodate n elements.