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:
Lorenzo Caminiti
2012-04-07 19:43:03 +00:00
parent 6abc944e57
commit 01aba11b87

View File

@@ -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.