operator + method

Complex operator +(
  1. Complex other
)

Implementation

Complex operator +(Complex other) =>
    Complex(real + other.real, imag + other.imag);