Quaternion.opUnary

Unary operation for "+".

this is identity function

  1. Quaternion!T opUnary()
    struct Quaternion(T)
    const
    opUnary
    (
    string op
    )
    ()
    if (
    op == "+"
    )
    if (
    __traits(isArithmetic, T)
    )
  2. Quaternion!T opUnary()
  3. Quaternion!T opUnary()

Return Value

Type: Quaternion!T

a quaternionly which is equal to this quaternion

Meta