Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/chrono/detail/is_evenly_divisible_by.hpp @ 125:34e428693f5d vext
Vext -> Repoint
author | Chris Cannam |
---|---|
date | Thu, 14 Jun 2018 11:15:39 +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 |