|
OpenEnroth 2ef3484
|
#include <Size.h>
Public Member Functions | |
| constexpr | Size ()=default |
| constexpr | Size (T w, T h) |
Public Attributes | |
| T | w = 0 |
| T | h = 0 |
Friends | |
| constexpr friend Size | operator/ (Size l, T r) |
| constexpr friend Point< T > | operator+ (Point< T > l, Size r) |
| constexpr friend Point< T > | operator- (Point< T > l, Size r) |
| constexpr friend bool | operator== (const Size &l, const Size &r)=default |
|
friend |
| T Size< T >::h = 0 |
| T Size< T >::w = 0 |