Vector.opBinary

Any binary operations execs per element

  1. auto opBinary(auto ref const(Vector!(K, E)) b)
  2. auto opBinary(auto ref const(E) b)
    struct Vector(size_t N, T)
    pure
    opBinary
    const
    (
    string op
    E
    )
    (
    auto ref const(E) b
    )
    if (
    isValidOp!(op, T, E) &&
    op != "+"
    &&
    op != "-"
    )
  3. auto opOpAssign(auto ref const(E) b)

Meta