4#ifndef TETL_RATIO_GREATER_HPP
5#define TETL_RATIO_GREATER_HPP
7#include <etl/_ratio/ratio.hpp>
8#include <etl/_type_traits/bool_constant.hpp>
16template <
typename R1,
typename R2>
17struct ratio_greater : bool_constant<(R1::num * R2::den > R2::num * R1::den)> { };
20template <
typename R1,
typename R2>
constexpr bool ratio_greater_v
Definition ratio_greater.hpp:21
Definition adjacent_find.hpp:9
Compares two ratio objects for equality at compile-time. If the ratio R1 is greater than the ratio R2...
Definition ratio_greater.hpp:17