automem ~master (2021-08-10T17:03:37Z)
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
static if
(
isElementMutable
)
bool
shrink
(
)
if
(
isAllocator
!
Allocator
)
bool
shrink
(long newLength)
Meta
Source
See Implementation
automem
vector
Vector
aliases
MutE
constructors
this
destructors
~this
functions
capacity
clear
empty
free
opAssign
opBinary
opCast
opDollar
opEquals
opIndex
opOpAssign
opSlice
opSliceAssign
opSliceOpAssign
popBack
popFront
ptr
put
range
reserve
shrink
stringz
manifest constants
isElementMutable
postblits
this(this)
properties
length
Shrink to fit the current length. Returns if shrunk.