Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::ratio< N, D > Singleton Reference

#include <ratio_fwd.hpp>

Inheritance diagram for boost::ratio< N, D >:

Public Types

typedef ratio< num, dentype
 

Public Attributes

BOOST_STATIC_CONSTEXPR
boost::intmax_t 
num = SIGN_N * ABS_N / GCD
 
BOOST_STATIC_CONSTEXPR
boost::intmax_t 
den = ABS_D / GCD
 

Member Typedef Documentation

template<boost::intmax_t N, boost::intmax_t D>
typedef ratio<num, den> boost::ratio< N, D >::type

Member Data Documentation

template<boost::intmax_t N, boost::intmax_t D>
BOOST_STATIC_CONSTEXPR boost::intmax_t boost::ratio< N, D >::den = ABS_D / GCD
template<boost::intmax_t N, boost::intmax_t D>
BOOST_STATIC_CONSTEXPR boost::intmax_t boost::ratio< N, D >::num = SIGN_N * ABS_N / GCD

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