rll/euclid/dim4.h file

Namespaces

namespace rll
Contract-programming related functions and classes.

Classes

template <typename T, typename = std::enable_if_t<std::is_arithmetic_v<T>>>
struct rll::dim4
template <typename T>
struct fmt::formatter<rll::dim4<T>>
Specialization of the fmt::formatter for the rll::dim4 class.
template <typename T>
struct adl_serializer<rll::dim4<T>>

Functions

template <typename T, typename U>
auto operator%(dim4<T> const& lhs, dim4<U> const& rhs) →  auto constexpr
template <typename T, typename U, typename = std::enable_if_t<std::is_arithmetic_v<T> and std::is_arithmetic_v<U>>>
auto operator*(T const& lhs, dim4<U> const& rhs) →  auto constexpr
template <typename T, typename U, typename = std::enable_if_t<std::is_arithmetic_v<T> and std::is_arithmetic_v<U>>>
auto operator+(T const& lhs, dim4<U> const& rhs) →  auto constexpr
template <typename T, typename U, typename = std::enable_if_t<std::is_arithmetic_v<T> and std::is_arithmetic_v<U>>>
auto operator-(T const& lhs, dim4<U> const& rhs) →  auto constexpr
template <typename T, typename U, typename = std::enable_if_t<std::is_arithmetic_v<T> and std::is_arithmetic_v<U>>>
auto operator/(T const& lhs, dim4<U> const& rhs) →  auto constexpr