STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Static Public Attributes | List of all members
_Ratio_less< _R1, _R2 > Struct Template Reference

Public Types

typedef integral_constant< bool,(_Left< _Right)> type
 

Static Public Attributes

static constexpr intmax_t _N1 = _R1::num
 
static constexpr intmax_t _D1 = _R1::den
 
static constexpr intmax_t _N2 = _R2::num
 
static constexpr intmax_t _D2 = _R2::den
 
static constexpr intmax_t _Gn = _Gcd<_N1, _N2>::value
 
static constexpr intmax_t _Gd = _Gcd<_D1, _D2>::value
 
static constexpr intmax_t _Left = _Safe_mult<_N1 / _Gn, _D2 / _Gd>::value
 
static constexpr intmax_t _Right = _Safe_mult<_N2 / _Gn, _D1 / _Gd>::value
 

Member Typedef Documentation

template<class _R1, class _R2>
typedef integral_constant<bool, (_Left < _Right)> _Ratio_less< _R1, _R2 >::type

Member Data Documentation

template<class _R1, class _R2>
constexpr intmax_t _Ratio_less< _R1, _R2 >::_D1 = _R1::den
static
template<class _R1, class _R2>
constexpr intmax_t _Ratio_less< _R1, _R2 >::_D2 = _R2::den
static
template<class _R1, class _R2>
constexpr intmax_t _Ratio_less< _R1, _R2 >::_Gd = _Gcd<_D1, _D2>::value
static
template<class _R1, class _R2>
constexpr intmax_t _Ratio_less< _R1, _R2 >::_Gn = _Gcd<_N1, _N2>::value
static
template<class _R1, class _R2>
constexpr intmax_t _Ratio_less< _R1, _R2 >::_Left = _Safe_mult<_N1 / _Gn, _D2 / _Gd>::value
static
template<class _R1, class _R2>
constexpr intmax_t _Ratio_less< _R1, _R2 >::_N1 = _R1::num
static
template<class _R1, class _R2>
constexpr intmax_t _Ratio_less< _R1, _R2 >::_N2 = _R2::num
static
template<class _R1, class _R2>
constexpr intmax_t _Ratio_less< _R1, _R2 >::_Right = _Safe_mult<_N2 / _Gn, _D1 / _Gd>::value
static

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