Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::python::return_internal_reference< owner_arg, BasePolicy_ > Struct Template Reference

#include <return_internal_reference.hpp>

Inheritance diagram for boost::python::return_internal_reference< owner_arg, BasePolicy_ >:
Collaboration diagram for boost::python::return_internal_reference< owner_arg, BasePolicy_ >:

Public Types

typedef mpl::if_c< legal,
reference_existing_object,
detail::return_internal_reference_owner_arg_must_be_greater_than_zero
< owner_arg > >::type 
result_converter
 

Public Member Functions

 BOOST_STATIC_ASSERT (custodian!=ward)
 

Static Public Member Functions

static PyObject * postcall (ArgumentPackage const &args_, PyObject *result)
 

Member Typedef Documentation

template<std::size_t owner_arg = 1, class BasePolicy_ = default_call_policies>
typedef mpl::if_c< legal , reference_existing_object , detail::return_internal_reference_owner_arg_must_be_greater_than_zero<owner_arg> >::type boost::python::return_internal_reference< owner_arg, BasePolicy_ >::result_converter

Member Function Documentation

boost::python::with_custodian_and_ward_postcall< custodian, ward, BasePolicy_ >::BOOST_STATIC_ASSERT ( custodian!  = ward)
inherited
static PyObject* boost::python::with_custodian_and_ward_postcall< custodian, ward, BasePolicy_ >::postcall ( ArgumentPackage const &  args_,
PyObject *  result 
)
inlinestaticinherited

The documentation for this struct was generated from the following file: