dextool v5.0.0 (2022-12-09T08:28:15Z)
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.