Mercurial > hg > vamp-build-and-test
view DEPENDENCIES/generic/include/boost/ratio/mpl/gcd.hpp @ 125:34e428693f5d vext
Vext -> Repoint
author | Chris Cannam |
---|---|
date | Thu, 14 Jun 2018 11:15:39 +0100 |
parents | 2665513ce2d3 |
children |
line wrap: on
line source
// gcd.hpp // // (C) Copyright 2011 Vicente J. Botet Escriba // Use, modification and distribution are subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt). // #ifndef BOOST_RATIO_MPL_GCD_HPP #define BOOST_RATIO_MPL_GCD_HPP #include <boost/ratio/ratio.hpp> #include <boost/ratio/mpl/numeric_cast.hpp> #include <boost/ratio/detail/mpl/gcd.hpp> namespace boost { namespace mpl { template<> struct gcd_impl< rational_c_tag,rational_c_tag > { template< typename R1, typename R2 > struct apply : ratio_gcd<R1, R2> { }; }; } } #endif // BOOST_RATIO_MPL_GCD_HPP