Changeset 91ac0bb in mainline
- Timestamp:
- 2018-07-05T21:41:24Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4960254
- Parents:
- 7452b155
- git-author:
- Dzejrou <dzejrou@…> (2018-05-17 18:39:49)
- git-committer:
- Dzejrou <dzejrou@…> (2018-07-05 21:41:24)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/include/impl/ratio.hpp
r7452b155 r91ac0bb 138 138 139 139 template<class R1, class R2> 140 inline constexpr bool ratio_equal_v = ratio_equal<R1, R2>::value; 141 142 template<class R1, class R2> 140 143 struct ratio_not_equal: integral_constant<bool, !ratio_equal<R1, R2>::value> 141 144 { /* DUMMY BODY */ }; 145 146 template<class R1, class R2> 147 inline constexpr bool ratio_not_equal_v = ratio_not_equal<R1, R2>::value; 142 148 143 149 template<class R1, class R2> … … 148 154 149 155 template<class R1, class R2> 156 inline constexpr bool ratio_less_v = ratio_less<R1, R2>::value; 157 158 template<class R1, class R2> 150 159 struct ratio_less_equal: integral_constant<bool, !ratio_less<R2, R1>::value> 151 160 { /* DUMMY BODY */ }; 152 161 153 162 template<class R1, class R2> 163 inline constexpr bool ratio_less_equal_v = ratio_less_equal<R1, R2>::value; 164 165 template<class R1, class R2> 154 166 struct ratio_greater: integral_constant<bool, ratio_less<R2, R1>::value> 155 167 { /* DUMMY BODY */ }; 156 168 157 169 template<class R1, class R2> 170 inline constexpr bool ratio_greater_v = ratio_greater<R1, R2>::value; 171 172 template<class R1, class R2> 158 173 struct ratio_greater_equal: integral_constant<bool, !ratio_less<R1, R2>::value> 159 174 { /* DUMMY BODY */ }; 175 176 template<class R1, class R2> 177 inline constexpr bool ratio_greater_equal_v = ratio_greater_equal<R1, R2>::value; 160 178 161 179 /**
Note:
See TracChangeset
for help on using the changeset viewer.