mirror of
https://github.com/boostorg/python.git
synced 2026-01-25 06:22:15 +00:00
Changes for MPL v2
[SVN r13504]
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
# include <boost/python/default_call_policies.hpp>
|
||||
# include <boost/python/reference_existing_object.hpp>
|
||||
# include <boost/python/with_custodian_and_ward.hpp>
|
||||
# include <boost/mpl/select_type.hpp>
|
||||
# include <boost/mpl/select_if.hpp>
|
||||
|
||||
namespace boost { namespace python {
|
||||
|
||||
@@ -30,7 +30,7 @@ struct return_internal_reference
|
||||
private:
|
||||
BOOST_STATIC_CONSTANT(bool, legal = owner_arg > 0);
|
||||
public:
|
||||
typedef typename mpl::select_type<
|
||||
typedef typename mpl::select_if<
|
||||
legal
|
||||
, reference_existing_object
|
||||
, detail::return_internal_reference_owner_arg_must_be_greater_than_zero<owner_arg>
|
||||
|
||||
Reference in New Issue
Block a user