Simplify multi-component ifdefs containing BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION

[SVN r86248]
This commit is contained in:
Stephen Kelly
2013-10-11 23:20:59 +00:00
parent b519e4b12b
commit f580ae3b0a
2 changed files with 1 additions and 2 deletions

View File

@@ -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,true_>
: F::apply

View File

@@ -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