Vec.opIndex

Slicing support

  1. T opIndex(size_t index)
  2. inout(T)[] opIndex(size_t[2] slice)
  3. inout(T)[] opIndex()
    struct Vec(T, size_t N)
    inout
    inout(T)[]
    opIndex
    ()
    if (
    N > 0 &&
    isNumeric!T
    )

Meta