4#ifndef TETL_RATIO_EQUAL_HPP
5#define TETL_RATIO_EQUAL_HPP
7#include <etl/_ratio/ratio.hpp>
8#include <etl/_type_traits/bool_constant.hpp>
16template <
typename R1,
typename R2>
17struct ratio_equal : bool_constant<R1::num == R2::num && R1::den == R2::den> { };
21template <
typename R1,
typename R2>
constexpr bool ratio_equal_v
Definition ratio_equal.hpp:22
Definition adjacent_find.hpp:9
Compares two ratio objects for equality at compile-time. If the ratios R1 and R2 are equal,...
Definition ratio_equal.hpp:17