From 26d1a29190103391baab107ab3fb7be105309180 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Sat, 15 Jun 2024 11:29:21 +0100 Subject: [PATCH] Move overloads into correct namespace! --- .../multiprecision/detail/default_ops.hpp | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/include/boost/multiprecision/detail/default_ops.hpp b/include/boost/multiprecision/detail/default_ops.hpp index fdd2c492..bd0240ab 100644 --- a/include/boost/multiprecision/detail/default_ops.hpp +++ b/include/boost/multiprecision/detail/default_ops.hpp @@ -3981,24 +3981,17 @@ ilogb(const detail::expression& 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 T sinc_pi_imp(T); template T sinhc_pi_imp(T, const Policy&); + } // namespace detail template @@ -4032,6 +4025,16 @@ inline multiprecision::number 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