mir_slice.lightScope

  1. auto lightScope()
  2. auto lightScope()
  3. auto lightScope()
    struct mir_slice(Iterator_, size_t N_ = 1, SliceKind kind_ = Contiguous, Labels_...)
    scope immutable return @property
    @optmath
    lightScope
    ()
    ()
    if (
    0 < N_ &&
    N_ < 255
    &&
    !(
    kind_ == Canonical &&
    N_ == 1
    )
    &&
    Labels_.length <= N_
    &&
    isIterator!Iterator_
    )

Return Value

Type: auto

View with stripped out reference counted context. The lifetime of the result mustn't be longer then the lifetime of the original slice.

Meta