forked from boostorg/function
Reuse BOOST_FUNCTION_TEMPLATE_ARGS in BOOST_FUNCTION_PARTIAL_SPEC
This commit is contained in:
1 parent
453860ff9c
commit
4230fb2388
1 file changed
+1
-1
@@ -1046,7 +1046,7 @@ template<typename R BOOST_FUNCTION_COMMA BOOST_FUNCTION_TEMPLATE_PARMS>
|
|||||||
#if BOOST_FUNCTION_NUM_ARGS == 0
|
#if BOOST_FUNCTION_NUM_ARGS == 0
|
||||||
#define BOOST_FUNCTION_PARTIAL_SPEC R (void)
|
#define BOOST_FUNCTION_PARTIAL_SPEC R (void)
|
||||||
#else
|
#else
|
||||||
#define BOOST_FUNCTION_PARTIAL_SPEC R (BOOST_PP_ENUM_PARAMS(BOOST_FUNCTION_NUM_ARGS,T))
|
#define BOOST_FUNCTION_PARTIAL_SPEC R (BOOST_FUNCTION_TEMPLATE_ARGS)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
template<typename R BOOST_FUNCTION_COMMA
|
template<typename R BOOST_FUNCTION_COMMA
|
||||||
|
|||||||
Reference in new issue
Block a user