operator + method

num operator +(
  1. num other
)

Implementation

num operator +(num other) {
  return value += other;
}