From 03c221f2d51bb5a6a67b4575e8b7033361ada530 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 8 Mar 2020 06:43:48 +0200 Subject: [PATCH] Do not use `Q::template fn...` because it breaks g++ < 7 and nvcc --- include/boost/mp11/utility.hpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/include/boost/mp11/utility.hpp b/include/boost/mp11/utility.hpp index 1b268fa..adbed4d 100644 --- a/include/boost/mp11/utility.hpp +++ b/include/boost/mp11/utility.hpp @@ -247,17 +247,13 @@ template class... F> struct mp_compose template using fn = mp_fold...>, T, detail::mp_reverse_invoke_q>; }; -template using mp_compose_q = mp_compose; - -#else +#endif template struct mp_compose_q { template using fn = mp_fold, T, detail::mp_reverse_invoke_q>; }; -#endif - } // namespace mp11 } // namespace boost