#include <iostream>#include <ios>#include <stdexcept>#include <string>#include <boost/operators.hpp>#include <cstdlib>#include <boost/call_traits.hpp>#include <boost/config.hpp>#include <boost/detail/workaround.hpp>#include <boost/assert.hpp>#include <boost/math/common_factor_rt.hpp>#include <limits>#include <boost/static_assert.hpp>

Classes | |
| class | boost::bad_rational |
| class | boost::rational< IntType > |
| class | boost::rational< IntType > |
| struct | boost::detail::resetter |
Namespaces | |
| boost | |
| Duration formatting facet for input. | |
| boost::detail | |
Macros | |
| #define | BOOST_CONTROL_RATIONAL_HAS_GCD 1 |
Functions | |
| template<typename IntType > | |
| IntType | boost::gcd (IntType n, IntType m) |
| template<typename IntType > | |
| IntType | boost::lcm (IntType n, IntType m) |
| template<typename IntType > | |
| rational< IntType > | boost::abs (const rational< IntType > &r) |
| template<typename IntType > | |
| rational< IntType > | boost::operator+ (const rational< IntType > &r) |
| template<typename IntType > | |
| rational< IntType > | boost::operator- (const rational< IntType > &r) |
| template<typename IntType > | |
| std::istream & | boost::operator>> (std::istream &is, rational< IntType > &r) |
| template<typename IntType > | |
| std::ostream & | boost::operator<< (std::ostream &os, const rational< IntType > &r) |
| template<typename T , typename IntType > | |
| T | boost::rational_cast (const rational< IntType > &src BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE(T)) |
| #define BOOST_CONTROL_RATIONAL_HAS_GCD 1 |