Vec.opIndexOpAssign

Slicing support

  1. void opIndexOpAssign(T val, size_t index)
  2. void opIndexOpAssign(U val, size_t[2] slice)
    struct Vec(T, size_t N)
    void
    opIndexOpAssign
    (
    string op
    U
    )
    (
    in U val
    ,
    in size_t[2] slice
    )
    if (
    op == "+" ||
    op == "-"
    ||
    op == "*"
    ||
    op == "/"
    )
    if (
    N > 0 &&
    isNumeric!T
    )
  3. void opIndexOpAssign(U val, size_t[2] slice)

Meta