1 //  is_evenly_divisible_by.hpp  --------------------------------------------------------------//
2 
3 //  Copyright 2009-2010 Vicente J. Botet Escriba
4 
5 //  Distributed under the Boost Software License, Version 1.0.
6 //  See http://www.boost.org/LICENSE_1_0.txt
7 
8 #ifndef BOOST_CHRONO_DETAIL_IS_EVENLY_DIVISIBLE_BY_HPP
9 #define BOOST_CHRONO_DETAIL_IS_EVENLY_DIVISIBLE_BY_HPP
10 
11 #include <boost/chrono/config.hpp>
12 
13 #include <boost/mpl/logical.hpp>
14 #include <boost/ratio/detail/overflow_helpers.hpp>
15 
16 namespace boost {
17 namespace chrono {
18 namespace chrono_detail {
19 
20 //  template <class R1, class R2>
21 //  struct is_evenly_divisible_by : public boost::mpl::bool_ < ratio_divide<R1, R2>::type::den == 1 >
22 //  {};
23   template <class R1, class R2>
24   struct is_evenly_divisible_by : public boost::ratio_detail::is_evenly_divisible_by<R1, R2>
25   {};
26 
27 } // namespace chrono_detail
28 } // namespace detail
29 } // namespace chrono
30 
31 #endif // BOOST_CHRONO_DETAIL_IS_EVENLY_DIVISIBLE_BY_HPP
32