template <typename T, typename = std::enable_if_t<std::is_arithmetic_v<T>>>
rll::dim2 struct

Constructors, destructors, conversion operators

dim2() constexpr
dim2(T v) explicit constexpr
dim2(T x, T y) constexpr

Public functions

template <typename U>
auto operator!=(dim2<U> const& other) const →  bool constexpr
template <typename U, typename = std::enable_if_t<std::is_arithmetic_v<U>>>
auto operator*(dim2<U> const& other) const →  auto constexpr
template <typename U>
auto operator*=(dim2<U> const& other) →  auto constexpr
template <typename U, typename = std::enable_if_t<std::is_arithmetic_v<U>>>
auto operator*=(U const& other) →  auto constexpr
template <typename U, typename = std::enable_if_t<std::is_arithmetic_v<U>>>
auto operator+(dim2<U> const& other) const →  auto constexpr
auto operator+() const →  auto constexpr
template <typename U>
auto operator+=(dim2<U> const& other) →  auto constexpr
template <typename U, typename = std::enable_if_t<std::is_arithmetic_v<U>>>
auto operator+=(U const& other) →  auto constexpr
template <typename U, typename = std::enable_if_t<std::is_arithmetic_v<U>>>
auto operator-(dim2<U> const& other) const →  auto constexpr
auto operator-() const →  auto constexpr
template <typename U>
auto operator-=(dim2<U> const& other) →  auto constexpr
template <typename U, typename = std::enable_if_t<std::is_arithmetic_v<U>>>
auto operator-=(U const& other) →  auto constexpr
template <typename U, typename = std::enable_if_t<std::is_arithmetic_v<U>>>
auto operator/(dim2<U> const& other) const →  auto constexpr
template <typename U>
auto operator/=(dim2<U> const& other) →  auto constexpr
template <typename U, typename = std::enable_if_t<std::is_arithmetic_v<U>>>
auto operator/=(U const& other) →  auto constexpr
template <typename U>
auto operator<(dim2<U> const& other) const →  bool constexpr
template <typename U>
auto operator<=(dim2<U> const& other) const →  bool constexpr
template <typename U>
auto operator==(dim2<U> const& other) const →  bool constexpr
template <typename U>
auto operator>(dim2<U> const& other) const →  bool constexpr
template <typename U>
auto operator>=(dim2<U> const& other) const →  bool constexpr

Public variables

T x
T y