annotate DEPENDENCIES/generic/include/boost/chrono/detail/is_evenly_divisible_by.hpp @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents 2665513ce2d3
children
rev   line source
Chris@16 1 // is_evenly_divisible_by.hpp --------------------------------------------------------------//
Chris@16 2
Chris@16 3 // Copyright 2009-2010 Vicente J. Botet Escriba
Chris@16 4
Chris@16 5 // Distributed under the Boost Software License, Version 1.0.
Chris@16 6 // See http://www.boost.org/LICENSE_1_0.txt
Chris@16 7
Chris@16 8 #ifndef BOOST_CHRONO_DETAIL_IS_EVENLY_DIVISIBLE_BY_HPP
Chris@16 9 #define BOOST_CHRONO_DETAIL_IS_EVENLY_DIVISIBLE_BY_HPP
Chris@16 10
Chris@16 11 #include <boost/chrono/config.hpp>
Chris@16 12
Chris@16 13 #include <boost/mpl/logical.hpp>
Chris@16 14 #include <boost/ratio/detail/overflow_helpers.hpp>
Chris@16 15
Chris@16 16 namespace boost {
Chris@16 17 namespace chrono {
Chris@16 18 namespace chrono_detail {
Chris@16 19
Chris@16 20 // template <class R1, class R2>
Chris@16 21 // struct is_evenly_divisible_by : public boost::mpl::bool_ < ratio_divide<R1, R2>::type::den == 1 >
Chris@16 22 // {};
Chris@16 23 template <class R1, class R2>
Chris@16 24 struct is_evenly_divisible_by : public boost::ratio_detail::is_evenly_divisible_by<R1, R2>
Chris@16 25 {};
Chris@16 26
Chris@16 27 } // namespace chrono_detail
Chris@16 28 } // namespace detail
Chris@16 29 } // namespace chrono
Chris@16 30
Chris@16 31 #endif // BOOST_CHRONO_DETAIL_IS_EVENLY_DIVISIBLE_BY_HPP