File indexing completed on 2025-01-18 09:51:18
0001 #ifndef BOOST_RATIO_DETAIL_IS_RATIO_HPP
0002 #define BOOST_RATIO_DETAIL_IS_RATIO_HPP
0003
0004
0005
0006
0007
0008 #include <boost/ratio/ratio_fwd.hpp>
0009 #include <type_traits>
0010 #include <cstdint>
0011
0012 namespace boost
0013 {
0014 namespace ratio_detail
0015 {
0016
0017 template<class T> struct is_ratio: std::false_type
0018 {
0019 };
0020
0021 template<std::intmax_t A, std::intmax_t B> struct is_ratio< boost::ratio<A, B> >: std::true_type
0022 {
0023 };
0024
0025 }
0026 }
0027
0028 #endif