2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-26 18:52:26 +00:00

ice_ fixes for KCC

[SVN r12634]
This commit is contained in:
Dave Abrahams
2002-02-02 14:34:02 +00:00
parent 14917c9791
commit ecc8abcc50

View File

@@ -48,8 +48,10 @@ struct default_result_converter
template <class R>
struct apply
{
BOOST_STATIC_CONSTANT(bool, is_illegal = is_reference<R>::value || is_pointer<R>::value);
typedef typename mpl::select_type<
is_reference<R>::value | is_pointer<R>::value
is_illegal
, detail::specify_a_result_policy_to_wrap_functions_returning<R>
, boost::python::to_python_value<
typename add_reference<typename add_const<R>::type>::type