The OpenD Programming Language

mir_slice.opIndex

opIndex overload for const slice

  1. auto ref opIndex(Indexes indices)
    struct mir_slice(Iterator_, size_t N_ = 1, SliceKind kind_ = Contiguous, Labels_...)
    ref const @trusted
    opIndex
    (
    Indexes...
    )
    (
    Indexes indices
    )
    if (
    isPureSlice!Indexes ||
    isIndexedSlice!Indexes
    )
    if (
    0 < N_ &&
    N_ < 255
    &&
    !(
    kind_ == Canonical &&
    N_ == 1
    )
    &&
    Labels_.length <= N_
    &&
    isIterator!Iterator_
    )
  2. auto ref opIndex(Indexes indices)
  3. auto ref opIndex(size_t[N] _indices)
  4. auto ref opIndex(size_t[N] _indices)
  5. auto ref opIndex(size_t[N] _indices)
  6. auto opIndex(size_t[I] _indices)
  7. auto opIndex(size_t[I] _indices)
  8. auto opIndex(size_t[I] _indices)
  9. auto opIndex(Slices slices)
  10. auto opIndex(Slices slices)

Meta