34 #ifndef _GLIBCXX_EXPERIMENTAL_RATIO
35 #define _GLIBCXX_EXPERIMENTAL_RATIO 1
37 #pragma GCC system_header
39 #if __cplusplus >= 201402L
44 namespace std _GLIBCXX_VISIBILITY(default)
46 _GLIBCXX_BEGIN_NAMESPACE_VERSION
48 namespace experimental
50 inline namespace fundamentals_v1
53 template <
typename _R1,
typename _R2>
54 constexpr
bool ratio_equal_v = ratio_equal<_R1, _R2>::value;
55 template <
typename _R1,
typename _R2>
56 constexpr
bool ratio_not_equal_v = ratio_not_equal<_R1, _R2>::value;
57 template <
typename _R1,
typename _R2>
58 constexpr
bool ratio_less_v = ratio_less<_R1, _R2>::value;
59 template <
typename _R1,
typename _R2>
60 constexpr
bool ratio_less_equal_v = ratio_less_equal<_R1, _R2>::value;
61 template <
typename _R1,
typename _R2>
62 constexpr
bool ratio_greater_v = ratio_greater<_R1, _R2>::value;
63 template <
typename _R1,
typename _R2>
64 constexpr
bool ratio_greater_equal_v = ratio_greater_equal<_R1, _R2>::value;
68 _GLIBCXX_END_NAMESPACE_VERSION
71 #endif // __cplusplus <= 201103L
73 #endif // _GLIBCXX_EXPERIMENTAL_RATIO