From 21cace4e574180ba64d9307a5e4ea9e5e94d3e8d Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 20 Oct 2020 00:08:11 +0300 Subject: [PATCH] Remove mp_invoke --- doc/mp11/changelog.adoc | 1 + include/boost/mp11/utility.hpp | 18 ------------------ 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/doc/mp11/changelog.adoc b/doc/mp11/changelog.adoc index 3376cf6..0f3321a 100644 --- a/doc/mp11/changelog.adoc +++ b/doc/mp11/changelog.adoc @@ -13,6 +13,7 @@ http://www.boost.org/LICENSE_1_0.txt ## Changes in 1.75.0 * Added `mp_pairwise_fold` (suggested by Barry Revzin) +* Removed `mp_invoke` (use `mp_invoke_q`) ## Changes in 1.74.0 diff --git a/include/boost/mp11/utility.hpp b/include/boost/mp11/utility.hpp index a8a32fb..533009a 100644 --- a/include/boost/mp11/utility.hpp +++ b/include/boost/mp11/utility.hpp @@ -221,24 +221,6 @@ template using mp_invoke_q = typename Q::template fn; #endif -// old name for mp_invoke_q retained for compatibility, but deprecated -#if !defined(__clang__) - -template using mp_invoke BOOST_MP11_DEPRECATED("please use mp_invoke_q") = mp_invoke_q; - -#else - -// Clang doesn't warn on deprecated alias templates - -template struct BOOST_MP11_DEPRECATED("please use mp_invoke_q") mp_invoke_ -{ - using type = mp_invoke_q; -}; - -template using mp_invoke = typename mp_invoke_::type; - -#endif - // mp_not_fn

template class P> struct mp_not_fn {