betterc v0.2.2 (2020-10-30T20:47:52Z)
Dub
Repo
Vector.shrink
betterc
ds
vector
Vector
Shrinks vector
struct
Vector
(T)
ref nothrow @
nogc
typeof
(this)
shrink
(
size_t
len
= 0
)
Parameters
len
size_t
New vector size
Meta
Source
See Implementation
betterc
ds
vector
Vector
constructors
this
destructors
~this
functions
capacity
clear
erase
length
opApply
opAssign
opBinary
opDollar
opIndex
opSlice
pop
ptr
push
shrink
shrink_to_fit
trim
postblits
this(this)
Shrinks vector