diff --git a/include/boost/python/detail/type_list_utils.hpp b/include/boost/python/detail/type_list_utils.hpp index a9352850..026fd92f 100644 --- a/include/boost/python/detail/type_list_utils.hpp +++ b/include/boost/python/detail/type_list_utils.hpp @@ -72,12 +72,11 @@ namespace boost { namespace python { namespace detail { #else // defined(BOOST_PP_IS_ITERATING) # define N BOOST_PP_ITERATION() -# define MAX BOOST_PYTHON_MAX_ARITY -# if (N < MAX-1) +# if (N < BOOST_PYTHON_MAX_ARITY-1) - template - struct type_at > + template + struct type_at > { typedef BOOST_PP_CAT(A, N) type; }; @@ -88,7 +87,7 @@ namespace boost { namespace python { namespace detail { // typedef boost::mpl::type_list sequence; // }; -# if (N > 0) +# if (N > 0) // template // struct pop_front > @@ -102,7 +101,7 @@ namespace boost { namespace python { namespace detail { // typedef boost::mpl::type_list sequence; // }; -# endif +# endif # endif template @@ -112,6 +111,5 @@ namespace boost { namespace python { namespace detail { }; # undef N -# undef MAX #endif // !defined(BOOST_PP_IS_ITERATING)