The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Vector.reserve
automem
vector
Vector
Reserve memory to avoid allocations when appending
struct
Vector
(E, Allocator = typeof(theAllocator))
void
reserve
(
long
newLength
)
if
(
isAllocator
!
Allocator
)
Meta
Source
See Implementation
automem
vector
Vector
functions
capacity
clear
empty
free
opAssign
opBinary
opIndex
opOpAssign
opSlice
opSliceAssign
opSliceOpAssign
popBack
popFront
range
reserve
shrink
stringz
properties
length
Reserve memory to avoid allocations when appending