mirror of
https://github.com/boostorg/functional.git
synced 2025-08-02 05:54:29 +02:00
Trying to fix a pp error on Sun... using a separate macro to force expansion but not sure if that was the issue.
[SVN r77823]
This commit is contained in:
@@ -83,9 +83,13 @@
|
||||
>::type
|
||||
|
||||
// Iterate within namespace.
|
||||
# define BOOST_FUNCTIONAL_OVERLOADED_FUNCTION_OVERLOAD_COUNT \
|
||||
/*at least 2 func to overload 2, 3, ...*/ \
|
||||
BOOST_PP_SUB( \
|
||||
BOOST_FUNCTIONAL_OVERLOADED_FUNCTION_CONFIG_OVERLOAD_MAX, \
|
||||
2)
|
||||
# define BOOST_PP_ITERATION_PARAMS_1 \
|
||||
(3, (0, BOOST_PP_SUB( /*at least 2 func to overload 2, 3, ...*/\
|
||||
BOOST_FUNCTIONAL_OVERLOADED_FUNCTION_CONFIG_OVERLOAD_MAX, 2), \
|
||||
(3, (0, BOOST_FUNCTIONAL_OVERLOADED_FUNCTION_OVERLOAD_COUNT, \
|
||||
"boost/functional/overloaded_function.hpp"))
|
||||
# include BOOST_PP_ITERATE() // Iterate over function arity.
|
||||
|
||||
|
Reference in New Issue
Block a user