Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/ratio/mpl/equal_to.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 // equal_to.hpp |
Chris@16 | 2 // |
Chris@16 | 3 // (C) Copyright 2011 Vicente J. Botet Escriba |
Chris@16 | 4 // Use, modification and distribution are subject to the Boost Software License, |
Chris@16 | 5 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at |
Chris@16 | 6 // http://www.boost.org/LICENSE_1_0.txt). |
Chris@16 | 7 // |
Chris@16 | 8 |
Chris@16 | 9 #ifndef BOOST_RATIO_MPL_EQUAL_TO_HPP |
Chris@16 | 10 #define BOOST_RATIO_MPL_EQUAL_TO_HPP |
Chris@16 | 11 |
Chris@16 | 12 #include <boost/ratio/ratio.hpp> |
Chris@16 | 13 #include <boost/ratio/mpl/numeric_cast.hpp> |
Chris@16 | 14 #include <boost/mpl/equal_to.hpp> |
Chris@16 | 15 |
Chris@16 | 16 namespace boost { |
Chris@16 | 17 namespace mpl { |
Chris@16 | 18 |
Chris@16 | 19 template<> |
Chris@16 | 20 struct equal_to_impl< rational_c_tag,rational_c_tag > |
Chris@16 | 21 { |
Chris@16 | 22 template< typename R1, typename R2 > struct apply |
Chris@16 | 23 : ratio_equal<R1, R2> |
Chris@16 | 24 { |
Chris@16 | 25 }; |
Chris@16 | 26 }; |
Chris@16 | 27 } |
Chris@16 | 28 } |
Chris@16 | 29 |
Chris@16 | 30 #endif // BOOST_RATIO_MPL_EQUAL_TO_HPP |