tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
ratio_not_equal.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_RATIO_NOT_EQUAL_HPP
4#define TETL_RATIO_NOT_EQUAL_HPP
5
8
9namespace etl {
10
15template <typename R1, typename R2>
16struct ratio_not_equal : bool_constant<!ratio_equal_v<R1, R2>> { };
17
19template <typename R1, typename R2>
21
22} // namespace etl
23
24#endif // TETL_RATIO_NOT_EQUAL_HPP
constexpr bool ratio_not_equal_v
Definition ratio_not_equal.hpp:20
Definition adjacent_find.hpp:8
integral_constant< bool, B > bool_constant
Definition bool_constant.hpp:11
static constexpr bool value
Definition integral_constant.hpp:10
Compares two ratio objects for equality at compile-time. If the ratios R1 and R2 are not equal,...
Definition ratio_not_equal.hpp:16