From f580ae3b0a9cd96e1140ffd3b9d538328bc309d3 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Fri, 11 Oct 2013 23:20:59 +0000 Subject: [PATCH] Simplify multi-component ifdefs containing BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION [SVN r86248] --- include/boost/mpl/apply_wrap.hpp | 2 +- include/boost/mpl/aux_/config/lambda.hpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/boost/mpl/apply_wrap.hpp b/include/boost/mpl/apply_wrap.hpp index fa9913e..b8c171a 100644 --- a/include/boost/mpl/apply_wrap.hpp +++ b/include/boost/mpl/apply_wrap.hpp @@ -122,7 +122,7 @@ struct BOOST_PP_CAT(apply_wrap,i_) { }; -#if i_ == 0 && !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) +#if i_ == 0 template< typename F > struct BOOST_PP_CAT(apply_wrap,i_) : F::apply diff --git a/include/boost/mpl/aux_/config/lambda.hpp b/include/boost/mpl/aux_/config/lambda.hpp index 93fbafe..505e1b2 100644 --- a/include/boost/mpl/aux_/config/lambda.hpp +++ b/include/boost/mpl/aux_/config/lambda.hpp @@ -22,7 +22,6 @@ #if !defined(BOOST_MPL_CFG_NO_FULL_LAMBDA_SUPPORT) \ && ( defined(BOOST_MPL_CFG_NO_TEMPLATE_TEMPLATE_PARAMETERS) \ - || defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \ ) # define BOOST_MPL_CFG_NO_FULL_LAMBDA_SUPPORT