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