mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-01 22:04:32 +02:00
MPL: Remove use of obsolete BOOST_MPL_CFG_NO_APPLY_TEMPLATE
It was only defined for MSVC versions which are no longer supported. [SVN r85887]
This commit is contained in:
@@ -95,7 +95,6 @@ namespace boost { namespace mpl {
|
|||||||
(3,(0, BOOST_MPL_LIMIT_METAFUNCTION_ARITY, <boost/mpl/apply.hpp>))
|
(3,(0, BOOST_MPL_LIMIT_METAFUNCTION_ARITY, <boost/mpl/apply.hpp>))
|
||||||
#include BOOST_PP_ITERATE()
|
#include BOOST_PP_ITERATE()
|
||||||
|
|
||||||
# if !defined(BOOST_MPL_CFG_NO_APPLY_TEMPLATE)
|
|
||||||
// real C++ version is already taken care of
|
// real C++ version is already taken care of
|
||||||
# if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
|
# if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
|
||||||
|
|
||||||
@@ -119,7 +118,6 @@ struct apply
|
|||||||
};
|
};
|
||||||
|
|
||||||
# endif // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
# endif // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
||||||
# endif // BOOST_MPL_CFG_NO_APPLY_TEMPLATE
|
|
||||||
|
|
||||||
# undef AUX778076_APPLY_N_SPEC_PARAMS
|
# undef AUX778076_APPLY_N_SPEC_PARAMS
|
||||||
# undef AUX778076_APPLY_N_PARTIAL_SPEC_PARAMS
|
# undef AUX778076_APPLY_N_PARTIAL_SPEC_PARAMS
|
||||||
@@ -176,7 +174,6 @@ struct BOOST_PP_CAT(apply,i_)<AUX778076_APPLY_N_SPEC_PARAMS(i_, int)>
|
|||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
# if !defined(BOOST_MPL_CFG_NO_APPLY_TEMPLATE)
|
|
||||||
# if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
|
# if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
|
||||||
|
|
||||||
#if i_ == BOOST_MPL_LIMIT_METAFUNCTION_ARITY
|
#if i_ == BOOST_MPL_LIMIT_METAFUNCTION_ARITY
|
||||||
@@ -200,7 +197,6 @@ struct apply< F AUX778076_APPLY_N_PARTIAL_SPEC_PARAMS(i_, T, na) >
|
|||||||
|
|
||||||
# else // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
# else // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
||||||
|
|
||||||
#if !defined(BOOST_MPL_CFG_NO_APPLY_TEMPLATE)
|
|
||||||
namespace aux {
|
namespace aux {
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
@@ -218,10 +214,8 @@ struct apply_chooser<i_>
|
|||||||
};
|
};
|
||||||
|
|
||||||
} // namespace aux
|
} // namespace aux
|
||||||
#endif
|
|
||||||
|
|
||||||
# endif // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
# endif // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
||||||
# endif // BOOST_MPL_CFG_NO_APPLY_TEMPLATE
|
|
||||||
|
|
||||||
# undef i_
|
# undef i_
|
||||||
|
|
||||||
|
@@ -42,12 +42,6 @@
|
|||||||
# include <boost/preprocessor/iterate.hpp>
|
# include <boost/preprocessor/iterate.hpp>
|
||||||
# include <boost/preprocessor/cat.hpp>
|
# include <boost/preprocessor/cat.hpp>
|
||||||
|
|
||||||
// agurt, 15/jan/02: top-level 'apply' template gives an ICE on MSVC
|
|
||||||
// (for known reasons)
|
|
||||||
#if BOOST_WORKAROUND(BOOST_MSVC, < 1300)
|
|
||||||
# define BOOST_MPL_CFG_NO_APPLY_TEMPLATE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace boost { namespace mpl {
|
namespace boost { namespace mpl {
|
||||||
|
|
||||||
// local macro, #undef-ined at the end of the header
|
// local macro, #undef-ined at the end of the header
|
||||||
@@ -64,8 +58,6 @@ namespace boost { namespace mpl {
|
|||||||
BOOST_MPL_PP_PARAMS(n, param) \
|
BOOST_MPL_PP_PARAMS(n, param) \
|
||||||
/**/
|
/**/
|
||||||
|
|
||||||
# if !defined(BOOST_MPL_CFG_NO_APPLY_TEMPLATE)
|
|
||||||
|
|
||||||
#if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
|
#if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
|
||||||
// forward declaration
|
// forward declaration
|
||||||
template<
|
template<
|
||||||
@@ -78,8 +70,6 @@ template< BOOST_AUX_NTTP_DECL(int, arity_) > struct apply_chooser;
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
# endif // BOOST_MPL_CFG_NO_APPLY_TEMPLATE
|
|
||||||
|
|
||||||
#define BOOST_PP_ITERATION_PARAMS_1 \
|
#define BOOST_PP_ITERATION_PARAMS_1 \
|
||||||
(3,(0, BOOST_MPL_LIMIT_METAFUNCTION_ARITY, <boost/mpl/apply_fwd.hpp>))
|
(3,(0, BOOST_MPL_LIMIT_METAFUNCTION_ARITY, <boost/mpl/apply_fwd.hpp>))
|
||||||
#include BOOST_PP_ITERATE()
|
#include BOOST_PP_ITERATE()
|
||||||
|
Reference in New Issue
Block a user