Template Struct VariantConverter

Nested Relationships

Nested Types

Struct Documentation

template<typename Variant>
struct VariantConverter

Converter used in

See also

ReturnInternalVariant. This is inspired by

See also

bp::reference_existing_object. It will call

See also

VariantRefToObject to extract the alternative reference.

Public Types

typedef Variant variant_type
template<class T>
struct apply
struct type

Public Functions

inline PyObject *operator()(const variant_type &v) const
inline PyTypeObject const *get_pytype() const