2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-22 05:22:45 +00:00

VC6 fixes

[SVN r15438]
This commit is contained in:
Dave Abrahams
2002-09-18 13:24:15 +00:00
parent 065a53b997
commit e8d2bbd2c9
2 changed files with 7 additions and 7 deletions

View File

@@ -33,7 +33,7 @@ namespace boost { namespace python {
BOOST_STATIC_CONSTANT(bool, value = true);
};
# else
template < BOOST_PYTHON_BASE_PARAMS >
template < BOOST_PP_ENUM_PARAMS(BOOST_PYTHON_MAX_BASES, class B) >
static char is_bases_helper(bases< BOOST_PYTHON_BASE_PARAMS > const&);
static char (& is_bases_helper(...) )[256];

View File

@@ -53,11 +53,6 @@ struct type_list_count_args
};
};
# undef BOOST_PYTHON_IS_LIST_ARG
# undef BOOST_PYTHON_PLUS
# undef BOOST_PYTHON_LIST_FORMAL_PARAMS
# undef BOOST_PYTHON_LIST_ACTUAL_PARAMS
template<
BOOST_PYTHON_LIST_FORMAL_PARAMS
>
@@ -79,6 +74,11 @@ struct type_list
>::type type;
};
# undef BOOST_PYTHON_IS_LIST_ARG
# undef BOOST_PYTHON_PLUS
# undef BOOST_PYTHON_LIST_FORMAL_PARAMS
# undef BOOST_PYTHON_LIST_ACTUAL_PARAMS
}}} // namespace boost::python::detail
# endif // TYPE_LIST_IMPL_NO_PTS_DWA2002913_HPP
@@ -96,7 +96,7 @@ struct type_list_impl_chooser<N>
struct result_
{
typedef BOOST_PP_CAT(mpl::list,N)<
BOOST_PYTHON_LIST_ACTUAL_PARAMS
BOOST_PP_ENUM_PARAMS(N, T)
> type;
};
};