13 Resolution() : x(0), y(0) {}
14 Resolution(
double _x,
double _y) : x(_x), y(_y) {}
15 Resolution(
const Resolution& pt) =
default;
16 Resolution(Resolution&& pt) noexcept : x(pt.x), y(pt.y) {
20 ~Resolution() =
default;
21 Resolution& operator = (
const Resolution& pt) =
default;
22 Resolution& operator = (Resolution&& pt)
noexcept {
29 bool operator == (
const Resolution& pt)
const {
30 return x == pt.x && y == pt.y;
Definition: exceptions.hpp:15