Template Struct Size

Struct Documentation

template<typename T>
struct Size

Public Types

using ValueType = T

Public Functions

inline constexpr constexpr Size () noexcept
constexpr constexpr Size (Size const &) noexcept=default
Size &operator=(Size const&) noexcept = default
template<typename U> inline constexpr constexpr Size (Size< U > const &other) noexcept
template<typename U> inline explicit constexpr constexpr Size (Size< U > const &other) noexcept
template<typename WidthType, typename HeightType> inline constexpr constexpr Size (WidthType &&width, HeightType &&height) noexcept

Public Members

Width<T> width
Height<T> height

Friends

friend bool operator==(Size const &lhs, Size const &rhs) = default