comparison DEPENDENCIES/generic/include/boost/ratio/mpl/sign.hpp @ 16:2665513ce2d3

Add boost headers
author Chris Cannam
date Tue, 05 Aug 2014 11:11:38 +0100
parents
children
comparison
equal deleted inserted replaced
15:663ca0da4350 16:2665513ce2d3
1 // sign.hpp
2 //
3 // (C) Copyright 2011 Vicente J. Botet Escriba
4 // Use, modification and distribution are subject to the Boost Software License,
5 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt).
7 //
8
9 #ifndef BOOST_RATIO_MPL_SIGN_HPP
10 #define BOOST_RATIO_MPL_SIGN_HPP
11
12 #include <boost/ratio/ratio.hpp>
13 #include <boost/ratio/mpl/numeric_cast.hpp>
14 #include <boost/ratio/detail/mpl/sign.hpp>
15
16 namespace boost {
17 namespace mpl {
18
19 template<>
20 struct sign_impl< rational_c_tag >
21 {
22 template< typename R > struct apply
23 : ratio_sign<R>
24 {
25 };
26 };
27 }
28 }
29
30 #endif // BOOST_RATIO_MPL_SIGN_HPP