as.as

  1. auto as(Slice!(Iterator, N, kind) slice)
  2. auto as(S[] array)
  3. auto as(S withAsSlice)
  4. auto as(Range r)
    template as(T)
    @optmath
    as
    (
    Range
    )
    (
    Range r
    )
    if (
    !hasAsSlice!Range &&
    !isSlice!Range
    &&
    !is(Range : T[],
    T
    )
    )

Meta