shiftRight

Shift all elements in the slice by n > 0 positions to the right.

The last few n elements in the slice will get overwritten.

void
shiftRight
(
T
)
(
T[] slice
,
size_t n = 1
)

See Also