mir_slice.front

Multidimensional input range primitive.

  1. auto ref front()
  2. auto ref front()
  3. auto ref front()
  4. Element!dimension front()
  5. auto front()
  6. auto front()
  7. auto ref front(T value)
    struct mir_slice(Iterator_, size_t N_ = 1, SliceKind kind_ = Contiguous, Labels_...)
    ref return scope @trusted @property
    @fmamath
    static if(N == 1 && isMutable!DeepElement && !hasAccessByRef)
    front
    (
    size_t dimension = 0
    T
    )
    ()
    if (
    dimension == 0
    )
    if (
    0 < N_ &&
    N_ < 255
    &&
    !(
    kind_ == Canonical &&
    N_ == 1
    )
    &&
    Labels_.length <= N_
    &&
    isIterator!Iterator_
    )