Searched defs:rational_adaptor (Results 1 – 1 of 1) sorted by relevance
29 struct rational_adaptor struct31 typedef number<IntBackend> integer_type;32 typedef boost::rational<integer_type> rational_type;34 typedef typename IntBackend::signed_types signed_types;35 typedef typename IntBackend::unsigned_types unsigned_types;36 typedef typename IntBackend::float_types float_types;38 rational_adaptor() BOOST_MP_NOEXCEPT_IF(noexcept(rational_type())) {} in BOOST_MP_NOEXCEPT_IF()39 …OST_MP_NOEXCEPT_IF(noexcept(std::declval<rational_type&>() = std::declval<const rational_type&>())) in BOOST_MP_NOEXCEPT_IF()43 …o) BOOST_MP_NOEXCEPT_IF(noexcept(rational_type(std::declval<const IntBackend&>()))) : m_value(o) {} in BOOST_MP_NOEXCEPT_IF()46 …rational_adaptor(const U& u, typename enable_if_c<is_convertible<U, IntBackend>::value>::type* = 0… in rational_adaptor() function[all …]