diff --git a/include/boost/mpl/apply.hpp b/include/boost/mpl/apply.hpp index e87325e..2d3c9c5 100644 --- a/include/boost/mpl/apply.hpp +++ b/include/boost/mpl/apply.hpp @@ -215,13 +215,6 @@ struct BOOST_PP_CAT(apply,i) { }; -//: workaround for ETI bug -template<> -struct BOOST_PP_CAT(apply,i) -{ - typedef BOOST_PP_CAT(apply,i) type; -}; - # elif defined(BOOST_BROKEN_DEFAULT_TEMPLATE_PARAMETERS_IN_NESTED_TEMPLATES) // MWCW/Borland version @@ -263,6 +256,15 @@ struct BOOST_PP_CAT(apply,i) # endif // workarounds +#if defined(BOOST_MPL_MSVC_ETI_BUG) +//: workaround for ETI bug +template<> +struct BOOST_PP_CAT(apply,i) +{ + typedef BOOST_PP_CAT(apply,i) type; +}; +#endif + #if defined(BOOST_MPL_NO_FULL_LAMBDA_SUPPORT) #if defined(BOOST_MSVC) && (BOOST_MSVC < 1300) template<>