std::ratio_add
std::ratio_add
Defined in header <ratio> | ||
---|---|---|
template< class R1, class R2 > using ratio_add = /* see below */; |
The alias template std::ratio_add
denotes the result of adding two exact rational fractions represented by the std::ratio
specializations R1
and R2
.
The result is a std::ratio
specialization