Tuple.slice

Takes a slice by-reference of this Tuple.

struct Tuple
@property ref inout @trusted
inout(Tuple!(sliceSpecs!(from, to)))
slice
(
size_t from
size_t to
)
()
if (
from <= to &&
)

Parameters

from

A size_t designating the starting position of the slice.

to

A size_t designating the ending position (exclusive) of the slice.

Return Value

Type: inout(Tuple!(sliceSpecs!(from, to)))

A new Tuple that is a slice from [from, to$(RPAREN) of the original. It has the same types and values as the range [from, to$(RPAREN) in the original.

Meta