dim2.h file
Namespaces
- namespace rll
- Contract-programming related functions and classes.
Classes
-
template <typename T, typename = std::struct rll::dim2
enable_if_t<std:: is_arithmetic_v<T>>> -
template <typename T>struct fmt::formatter<rll::dim2<T>>
- Specialization of the
fmt::formatterfor the rll::dim2 class. -
template <typename T>struct adl_serializer<rll::dim2<T>>
Functions
-
template <typename T, typename U>auto operator%(dim2<T> const& lhs, dim2<U> const& rhs) → auto constexpr
-
template <typename T, typename U, typename = std::auto operator*(T const& lhs, dim2<U> const& rhs) → auto constexpr
enable_if_t<std:: is_arithmetic_v<T> and std:: is_arithmetic_v<U>>> -
template <typename T, typename U, typename = std::auto operator+(T const& lhs, dim2<U> const& rhs) → auto constexpr
enable_if_t<std:: is_arithmetic_v<T> and std:: is_arithmetic_v<U>>> -
template <typename T, typename U, typename = std::auto operator-(T const& lhs, dim2<U> const& rhs) → auto constexpr
enable_if_t<std:: is_arithmetic_v<T> and std:: is_arithmetic_v<U>>> -
template <typename T, typename U, typename = std::auto operator/(T const& lhs, dim2<U> const& rhs) → auto constexpr
enable_if_t<std:: is_arithmetic_v<T> and std:: is_arithmetic_v<U>>>