mir_slice.lightImmutable

struct mir_slice(Iterator_, size_t N_ = 1, SliceKind kind_ = Contiguous, Labels_...)
scope return immutable @property
@optmath
Slice!(LightImmutableOf!Iterator, N, kind, staticMap!(LightImmutableOf, Labels))
lightImmutable
()
()
if (
0 < N_ &&
N_ < 255
&&
!(
kind_ == Canonical &&
N_ == 1
)
&&
Labels_.length <= N_
&&
isIterator!Iterator_
)

Return Value

Type: Slice!(LightImmutableOf!Iterator, N, kind, staticMap!(LightImmutableOf, Labels))

Mutable slice over immutable data.

Meta