19 std::is_arithmetic<number_type>::value &&
20 !std::is_same<number_type, bool>::value,
"not a valid number type");
31 return (
x == rhs.
x) && (
y == rhs.
y);
35 return !(*
this == rhs);
constexpr bool operator!=(const Position &rhs) const
Position & operator+=(const Position &rhs)
Position & operator-=(const Position &rhs)
friend Position operator+(Position lhs, const Position &rhs)
friend Position operator-(Position lhs, const Position &rhs)
constexpr Position(T X, T Y)
constexpr bool operator==(const Position &rhs) const