mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-01 22:04:32 +02:00
Simplify multi-component ifdefs containing BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
[SVN r86248]
This commit is contained in:
@@ -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 >
|
template< typename F >
|
||||||
struct BOOST_PP_CAT(apply_wrap,i_)<F,true_>
|
struct BOOST_PP_CAT(apply_wrap,i_)<F,true_>
|
||||||
: F::apply
|
: F::apply
|
||||||
|
@@ -22,7 +22,6 @@
|
|||||||
|
|
||||||
#if !defined(BOOST_MPL_CFG_NO_FULL_LAMBDA_SUPPORT) \
|
#if !defined(BOOST_MPL_CFG_NO_FULL_LAMBDA_SUPPORT) \
|
||||||
&& ( defined(BOOST_MPL_CFG_NO_TEMPLATE_TEMPLATE_PARAMETERS) \
|
&& ( defined(BOOST_MPL_CFG_NO_TEMPLATE_TEMPLATE_PARAMETERS) \
|
||||||
|| defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# define BOOST_MPL_CFG_NO_FULL_LAMBDA_SUPPORT
|
# define BOOST_MPL_CFG_NO_FULL_LAMBDA_SUPPORT
|
||||||
|
Reference in New Issue
Block a user