|
| template<typename ratio1, typename ratio2> |
| using | ratio_multiply = typename inner::__ratio_multiply_impl<ratio1, ratio2>::type |
| | 比率乘法类型别名
|
| template<typename ratio1, typename ratio2> |
| using | ratio_divide = typename inner::__ratio_divide_impl<ratio1, ratio2>::type |
| | 比率除法类型别名
|
| template<typename ratio1, typename ratio2> |
| using | ratio_add = typename inner::ratio_add<ratio1, ratio2>::type |
| | 比率加法类型别名
|
| template<typename ratio1, typename ratio2> |
| using | ratio_subtract = typename inner::ratio_subtract<ratio1, ratio2>::type |
| | 比率减法类型别名
|
|
|
template<typename T> |
| NEFORCE_INLINE17 constexpr bool | is_ratio_v = is_ratio<T>::value |
| | is_ratio的便捷变量模板
|
|
template<typename ratio1, typename ratio2> |
| NEFORCE_INLINE17 constexpr bool | ratio_equal_v = ratio_equal<ratio1, ratio2>::value |
| | ratio_equal的便捷变量模板
|
|
template<typename ratio1, typename ratio2> |
| NEFORCE_INLINE17 constexpr bool | ratio_not_equal_v = ratio_not_equal<ratio1, ratio2>::value |
| | ratio_not_equal的便捷变量模板
|
|
template<typename ratio1, typename ratio2> |
| NEFORCE_INLINE17 constexpr bool | ratio_less_v = ratio_less<ratio1, ratio2>::value |
| | ratio_less的便捷变量模板
|
|
template<typename ratio1, typename ratio2> |
| NEFORCE_INLINE17 constexpr bool | ratio_less_equal_v = ratio_less_equal<ratio1, ratio2>::value |
| | ratio_less_equal的便捷变量模板
|
|
template<typename ratio1, typename ratio2> |
| NEFORCE_INLINE17 constexpr bool | ratio_greater_v = ratio_greater<ratio1, ratio2>::value |
| | ratio_greater的便捷变量模板
|
|
template<typename ratio1, typename ratio2> |
| NEFORCE_INLINE17 constexpr bool | ratio_greater_equal_v = ratio_greater_equal<ratio1, ratio2>::value |
| | ratio_greater_equal的便捷变量模板
|