Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
std::ratio_detail::ratio_less_impl< R1, R2 > Class Template Reference

A helper for less-than comparison to enforce the type requirement in [ratio.general]. More...

Public Types

using type = integral_constant<bool, fraction_less(fraction{R1::num, R1::den}, fraction{R2::num, R2::den})>
 The result of the comparison.
 

Detailed Description

template<class R1, class R2>
class std::ratio_detail::ratio_less_impl< R1, R2 >

A helper for less-than comparison to enforce the type requirement in [ratio.general].

Template Parameters
R1The first of two ratios to be compared
R2The second of two ratios to be compared

Member Typedef Documentation

◆ type

template<class R1, class R2>
using std::ratio_detail::ratio_less_impl< R1, R2 >::type = integral_constant<bool, fraction_less(fraction{R1::num, R1::den}, fraction{R2::num, R2::den})>

The result of the comparison.


The documentation for this class was generated from the following file: