diff DEPENDENCIES/generic/include/boost/ratio/mpl/negate.hpp @ 16:2665513ce2d3

Add boost headers
author Chris Cannam
date Tue, 05 Aug 2014 11:11:38 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DEPENDENCIES/generic/include/boost/ratio/mpl/negate.hpp	Tue Aug 05 11:11:38 2014 +0100
@@ -0,0 +1,30 @@
+//  negate.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_NEGATE_HPP
+#define BOOST_RATIO_MPL_NEGATE_HPP
+
+#include <boost/ratio/ratio.hpp>
+#include <boost/ratio/mpl/numeric_cast.hpp>
+#include <boost/mpl/negate.hpp>
+
+namespace boost { 
+namespace mpl {
+
+template<>
+struct negate_impl< rational_c_tag >
+{
+    template< typename R > struct apply
+        : ratio_negate<R>
+    {
+    };
+};    
+}
+}
+
+#endif  // BOOST_RATIO_MPL_NEGATE_HPP