operator + method

Coord operator +(
  1. Coord coord
)

Implementation

Coord operator +(Coord coord) => ($1 + coord.$1, $2 + coord.$2);