mir_slice.lightConst

  1. Slice!(LightConstOf!Iterator, N, kind, staticMap!(LightConstOf, Labels)) lightConst()
  2. Slice!(LightImmutableOf!Iterator, N, kind, staticMap!(LightImmutableOf, Labels)) lightConst()
    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))
    lightConst
    ()
    ()
    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 const data.

Meta