Template Struct ReturnInternalVariant

Inheritance Relationships

Base Type

  • public boost::python::return_internal_reference<>

Struct Documentation

template<typename Variant>
struct ReturnInternalVariant : public boost::python::return_internal_reference<>

Variant of

See also

bp::return_internal_reference that extract {boost,std}::variant<class…> alternative reference before converting it into a PyObject

Public Types

typedef Variant variant_type
typedef details::VariantConverter<variant_type> result_converter

Public Static Functions

template<class ArgumentPackage>
static inline PyObject *postcall(ArgumentPackage const &args_, PyObject *result)