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

A helper for addition to enforce the type requirement in [ratio.general] and improve readability. More...

Public Types

using type = typename ratio_multiply_impl<left, right>::type
 The result of the addition.
 

Detailed Description

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

A helper for addition to enforce the type requirement in [ratio.general] and improve readability.

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

Member Typedef Documentation

◆ type

template<class R1, class R2>
using std::ratio_detail::ratio_add_impl< R1, R2 >::type = typename ratio_multiply_impl<left, right>::type

The result of the addition.


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