automem v0.3.5 (2018-09-20T14:09:16Z)
Dub
Repo
Vector.shrink
automem
vector
Vector
Shrink to fit the current length. Returns if shrunk.
bool
shrink
()
struct
Vector
(E, Allocator = typeof(theAllocator))
scope
bool
shrink
(
)
if
(
isAllocator
!
Allocator
)
bool
shrink
(long newLength)
Meta
Source
See Implementation
automem
vector
Vector
constructors
this
destructors
~this
functions
back
capacity
clear
empty
front
opAssign
opBinary
opDollar
opIndex
opOpAssign
opSlice
opSliceAssign
opSliceOpAssign
popBack
popFront
reserve
shrink
postblits
this(this)
properties
length
Shrink to fit the current length. Returns if shrunk.