automem v0.3.5 (2018-09-20T14:09:16Z)
Dub
Repo
Vector.shrink
automem
vector
Vector
Shrink to fit the new length given. Returns if shrunk.
bool
shrink
()
bool
shrink
(long newLength)
struct
Vector
(E, Allocator = typeof(theAllocator))
scope
bool
shrink
(
long
newLength
)
if
(
isAllocator
!
Allocator
)
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 new length given. Returns if shrunk.