Vec.opIndexAssign

Inserts an element at the specified index.

struct Vec(T, size_t size)
@nogc
void
opIndexAssign
(,
size_t i
)
if (
isNumeric!T &&
size > 0
)

Parameters

value T

The value to assign.

i size_t

The index of the element.

Meta