Move overloads into correct namespace!

This commit is contained in:
jzmaddock
2024-06-15 11:29:21 +01:00
parent f2887b00c2
commit 26d1a29190

View File

@@ -3981,24 +3981,17 @@ ilogb(const detail::expression<tag, A1, A2, A3, A4>& val)
namespace math {
using boost::multiprecision::gcd;
using boost::multiprecision::lcm;
#ifdef BOOST_MSVC
#pragma warning(pop)
#endif
} // namespace math
namespace integer {
//
// Overload of Boost.Math functions that find the wrong overload when used with number:
//
namespace detail {
template <class T>
T sinc_pi_imp(T);
template <class T, class Policy>
T sinhc_pi_imp(T, const Policy&);
} // namespace detail
template <class Backend, multiprecision::expression_template_option ExpressionTemplates>
@@ -4032,6 +4025,16 @@ inline multiprecision::number<Backend, ExpressionTemplates> sinhc_pi(const multi
using boost::multiprecision::gcd;
using boost::multiprecision::lcm;
#ifdef BOOST_MSVC
#pragma warning(pop)
#endif
} // namespace math
namespace integer {
using boost::multiprecision::gcd;
using boost::multiprecision::lcm;
} // namespace integer
} // namespace boost