20 #ifndef NCMPC_SIZE_HXX 21 #define NCMPC_SIZE_HXX 30 return width == other.
width && height == other.
height;
34 return !(*
this == other);
38 return {width + other.
width, height + other.
height};
42 return {width - other.
width, height - other.
height};
constexpr bool operator==(Size other) const
Definition: Size.hxx:29
constexpr Size operator-(Size other) const
Definition: Size.hxx:41
constexpr Size operator+(Size other) const
Definition: Size.hxx:37
constexpr bool operator!=(Size other) const
Definition: Size.hxx:33
unsigned width
Definition: Size.hxx:27
unsigned height
Definition: Size.hxx:27