summaryrefslogtreecommitdiff
path: root/src/third_party/boost-1.69.0/boost/multiprecision/traits/is_variable_precision.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/boost-1.69.0/boost/multiprecision/traits/is_variable_precision.hpp')
-rw-r--r--src/third_party/boost-1.69.0/boost/multiprecision/traits/is_variable_precision.hpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/third_party/boost-1.69.0/boost/multiprecision/traits/is_variable_precision.hpp b/src/third_party/boost-1.69.0/boost/multiprecision/traits/is_variable_precision.hpp
new file mode 100644
index 00000000000..c76f512331f
--- /dev/null
+++ b/src/third_party/boost-1.69.0/boost/multiprecision/traits/is_variable_precision.hpp
@@ -0,0 +1,24 @@
+///////////////////////////////////////////////////////////////////////////////
+// Copyright 2018 John Maddock. Distributed under 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_MP_IS_VARIABLE_PRECISION_HPP
+#define BOOST_MP_IS_VARIABLE_PRECISION_HPP
+
+#include <boost/type_traits/integral_constant.hpp>
+#include <boost/multiprecision/detail/number_base.hpp>
+
+namespace boost{ namespace multiprecision{ namespace detail{
+
+ template <class Backend>
+ struct is_variable_precision : public false_type{};
+
+ template <class Backend, expression_template_option ExpressionTemplates>
+ struct is_variable_precision<number<Backend, ExpressionTemplates> > : public is_variable_precision<Backend> {};
+
+}
+}
+}
+
+#endif // BOOST_MP_IS_BACKEND_HPP