1 From 1ec5c98d80de97f9e962c5627e1a0e6096099894 Mon Sep 17 00:00:00 2001
2 From: Daniel Scharrer <daniel@constexpr.org>
3 Date: Wed, 28 Jul 2021 19:56:31 +0200
4 Subject: [PATCH] Fix #include inside boost namespace
6 The existing code fails to build if <utility> was not already included.
8 include/boost/math/tools/mp.hpp | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
11 diff --git a/include/boost/math/tools/mp.hpp b/include/boost/math/tools/mp.hpp
12 index 35565646f..dc8440988 100644
13 --- a/include/boost/math/tools/mp.hpp
14 +++ b/include/boost/math/tools/mp.hpp
17 #include <type_traits>
21 namespace boost { namespace math { namespace tools { namespace meta_programming {
23 @@ -338,7 +339,6 @@ using mp_remove_if_q = mp_remove_if<L, Q::template fn>;
25 // Use C++14 index sequence if available
26 #if defined(__cpp_lib_integer_sequence) && (__cpp_lib_integer_sequence >= 201304)
28 template<std::size_t... I>
29 using index_sequence = std::index_sequence<I...>;