The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Vector.clear
automem
vector
Vector
Clears the vector, resulting in an empty one
struct
Vector
(E, Allocator = typeof(theAllocator))
void
clear
(
)
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
Clears the vector, resulting in an empty one