1 ///////////////////////////////////////////////////////////////////////////////
2 // Copyright 2018 John Maddock. Distributed under the Boost
3 // Software License, Version 1.0. (See accompanying file
4 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 #ifndef BOOST_MP_IS_VARIABLE_PRECISION_HPP
7 #define BOOST_MP_IS_VARIABLE_PRECISION_HPP
9 #include <boost/type_traits/integral_constant.hpp>
10 #include <boost/multiprecision/detail/number_base.hpp>
12 namespace boost { namespace multiprecision { namespace detail {
14 template <class Backend>
15 struct is_variable_precision : public false_type
18 template <class Backend, expression_template_option ExpressionTemplates>
19 struct is_variable_precision<number<Backend, ExpressionTemplates> > : public is_variable_precision<Backend>
24 } // namespace boost::multiprecision::detail
26 #endif // BOOST_MP_IS_BACKEND_HPP