operator + method

Point operator +(
  1. Point rhs
)

Implementation

Point operator +(Point rhs) => Point(x + rhs.x, y + rhs.y);