Scroll to navigation

std::ratio_add(3) Library Functions Manual std::ratio_add(3)

NAME

std::ratio_add -

ratio_add

SYNOPSIS

Public Types


typedef ratio< __safe_add< __safe_multiply< _R1::num,(_R2::den/__gcd)>::value, __safe_multiply< _R2::num,(_R1::den/__gcd)>::value >::value, __safe_multiply< _R1::den,(_R2::den/__gcd)>::value > type

Detailed Description

template<typename _R1, typename _R2> struct std::ratio_add< _R1, _R2 >

ratio_add

Definition at line 173 of file ratio.

Author

Generated automatically by Doxygen for libstdc++ from the source code.

19 Jun 2018 libstdc++