Vec.opOpAssign

Perform a term by term assignment operation on the vector.

  1. Vec!(T, N) opOpAssign(Vec!(U, N) oth)
    struct Vec(T, size_t N)
    ref
    Vec!(T, N)
    opOpAssign
    (
    string op
    U
    )
    (
    in Vec!(U, N) oth
    )
    if (
    (
    op == "+" ||
    op == "-"
    ||
    op == "*"
    ||
    op == "/"
    )
    &&
    isNumeric!U
    )
    if (
    N > 0 &&
    isNumeric!T
    )
  2. Vec!(T, N) opOpAssign(U val)

Meta