Vec.opOpAssign

Perform a scalar assignment operation on the vector.

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

Meta