From 2364f79088834afe0e65db0ac3bb7c546c2242f5 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 30 Aug 2018 01:23:05 +0300 Subject: [PATCH] Fix mp_bind for msvc-14.1 1915 (15.8) --- include/boost/mp11/bind.hpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/include/boost/mp11/bind.hpp b/include/boost/mp11/bind.hpp index fa52d2d..bbdecd2 100644 --- a/include/boost/mp11/bind.hpp +++ b/include/boost/mp11/bind.hpp @@ -87,7 +87,20 @@ template class F, class... U, class... T> struct eval_bound_a template class F, class... T> struct mp_bind { +#if BOOST_MP11_WORKAROUND( BOOST_MP11_MSVC, == 1915 ) +private: + + template struct _f { using type = F::type...>; }; + +public: + + template using fn = typename _f::type; + +#else + template using fn = F::type...>; + +#endif }; template using mp_bind_q = mp_bind;