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

Changes for MPL v2

[SVN r13504]
This commit is contained in:
Dave Abrahams
2002-04-16 14:29:30 +00:00
parent 10c99109fb
commit 97acbddb65

View File

@@ -6,7 +6,7 @@
#ifndef REFERENCE_EXISTING_OBJECT_DWA200222_HPP
# define REFERENCE_EXISTING_OBJECT_DWA200222_HPP
# include <boost/python/detail/indirect_traits.hpp>
# include <boost/mpl/select_type.hpp>
# include <boost/mpl/select_if.hpp>
# include <boost/python/to_python_indirect.hpp>
# include <boost/type_traits/composite_traits.hpp>
@@ -32,7 +32,7 @@ struct reference_existing_object
BOOST_STATIC_CONSTANT(
bool, ok = is_pointer<T>::value || is_reference<T>::value);
typedef typename mpl::select_type<
typedef typename mpl::select_if<
ok
, to_python_indirect<T, detail::make_reference_holder>
, detail::reference_existing_object_requires_a_pointer_or_reference_return_type<T>