2525#include < boost/config.hpp>
2626#include < boost/mpl/begin_end.hpp>
2727#include < boost/mpl/next.hpp>
28- #include < boost/mpl/apply .hpp>
28+ #include < boost/mpl/deref .hpp>
2929#include < cstddef>
3030
3131namespace boost { namespace python {
@@ -119,7 +119,7 @@ namespace detail
119119#define BOOST_PYTHON_TYPEDEF_GEN (z, index, data ) \
120120 typedef typename ::boost::mpl::next<BOOST_PP_CAT(iter, index)>::type \
121121 BOOST_PP_CAT (iter, BOOST_PP_INC(index)); \
122- typedef typename ::boost::mpl::apply0 <BOOST_PP_CAT(iter, index)>::type \
122+ typedef typename ::boost::mpl::deref <BOOST_PP_CAT(iter, index)>::type \
123123 BOOST_PP_CAT (T, index);
124124
125125#define BOOST_PYTHON_FUNC_WRAPPER_GEN (z, index, data ) \
@@ -145,7 +145,7 @@ namespace detail
145145 struct gen \
146146 { \
147147 typedef typename ::boost::mpl::begin<SigT>::type rt_iter; \
148- typedef typename ::boost::mpl::apply0 <rt_iter>::type RT; \
148+ typedef typename ::boost::mpl::deref <rt_iter>::type RT; \
149149 typedef typename ::boost::mpl::next<rt_iter>::type iter0; \
150150 \
151151 BOOST_PP_REPEAT_2ND ( \
@@ -184,10 +184,10 @@ namespace detail
184184 struct gen \
185185 { \
186186 typedef typename ::boost::mpl::begin<SigT>::type rt_iter; \
187- typedef typename ::boost::mpl::apply0 <rt_iter>::type RT; \
187+ typedef typename ::boost::mpl::deref <rt_iter>::type RT; \
188188 \
189189 typedef typename ::boost::mpl::next<rt_iter>::type class_iter; \
190- typedef typename ::boost::mpl::apply0 <class_iter>::type ClassT; \
190+ typedef typename ::boost::mpl::deref <class_iter>::type ClassT; \
191191 typedef typename ::boost::mpl::next<class_iter>::type iter0; \
192192 \
193193 BOOST_PP_REPEAT_2ND ( \
0 commit comments