diff --git a/include/boost/function/function_template.hpp b/include/boost/function/function_template.hpp index febd1bf..8cb0151 100644 --- a/include/boost/function/function_template.hpp +++ b/include/boost/function/function_template.hpp @@ -24,7 +24,7 @@ #define BOOST_FUNCTION_PARM(J,I,D) BOOST_PP_CAT(T,I) BOOST_PP_CAT(a,I) -#define BOOST_FUNCTION_PARMS BOOST_PP_ENUM(BOOST_FUNCTION_NUM_ARGS,BOOST_FUNCTION_PARM,) +#define BOOST_FUNCTION_PARMS BOOST_PP_ENUM(BOOST_FUNCTION_NUM_ARGS,BOOST_FUNCTION_PARM,BOOST_PP_EMPTY) #define BOOST_FUNCTION_ARGS BOOST_PP_ENUM_PARAMS(BOOST_FUNCTION_NUM_ARGS, a) @@ -514,7 +514,7 @@ namespace boost { f1.swap(f2); } -#if !defined (BOOST_NO_PARTIAL_SPECIALIZATION) +#if !defined (BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) #if BOOST_FUNCTION_NUM_ARGS == 0 #define BOOST_FUNCTION_PARTIAL_SPEC R (void)