From aeed5f029e958c32a999d183d2db011a3dde573c Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Fri, 12 Mar 2004 13:10:40 +0000 Subject: [PATCH] Use mpl::next to prepare for the next release of MPL [SVN r22485] --- include/boost/python/detail/caller.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/boost/python/detail/caller.hpp b/include/boost/python/detail/caller.hpp index 3a74b5ba..56130982 100644 --- a/include/boost/python/detail/caller.hpp +++ b/include/boost/python/detail/caller.hpp @@ -38,6 +38,7 @@ # include # include # include +# include namespace boost { namespace python { namespace detail { @@ -96,10 +97,10 @@ template struct caller; # define BOOST_PYTHON_NEXT(init,name,n) \ - typedef BOOST_PP_IF(n,typename BOOST_PP_CAT(name,BOOST_PP_DEC(n)) ::next, init) name##n; + typedef BOOST_PP_IF(n,typename mpl::next< BOOST_PP_CAT(name,BOOST_PP_DEC(n)) >::type, init) name##n; # define BOOST_PYTHON_ARG_CONVERTER(n) \ - BOOST_PYTHON_NEXT(typename first::next, arg_iter,n) \ + BOOST_PYTHON_NEXT(typename mpl::next::type, arg_iter,n) \ typedef arg_from_python c_t##n; \ c_t##n c##n(get(mpl::int_(), inner_args)); \ if (!c##n.convertible()) \