From e9684a1f66063f41ed629e289976d5c236cb58cd Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 19 Mar 2020 17:36:20 +0200 Subject: [PATCH] Apply a workaround for msvc-12.0, msvc-14.0 --- include/boost/mp11/algorithm.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/boost/mp11/algorithm.hpp b/include/boost/mp11/algorithm.hpp index cd13332..168cfdf 100644 --- a/include/boost/mp11/algorithm.hpp +++ b/include/boost/mp11/algorithm.hpp @@ -1176,7 +1176,15 @@ namespace detail template class F> struct mp_partial_sum_impl_f { +#if BOOST_MP11_WORKAROUND( BOOST_MP11_MSVC, <= 1900 ) + + template using fn = mp_list, T>, mp_push_back, F, T>> >; + +#else + template, T>> using fn = mp_list, N>>; + +#endif }; } // namespace detail