The OpenD Programming Language

mir_slice.lightScope

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

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