operator + method

Position operator +(
  1. Position other
)

Implementation

Position operator +(Position other) => Position(row + other.row, col + other.col);