HepMC3 event record library
Public Types | Public Member Functions | Static Public Member Functions
variant_caster< V< Ts...> > Struct Template Reference

Public Types

using Type = V< Ts...>
 

Public Member Functions

template<typename U , typename... Us>
bool load_alternative (handle src, bool convert, type_list< U, Us...>)
 
bool load_alternative (handle, bool, type_list<>)
 
bool load (handle src, bool convert)
 
 PYBIND11_TYPE_CASTER (Type, _("Union[")+detail::concat(make_caster< Ts >::name...)+_("]"))
 

Static Public Member Functions

template<typename Variant >
static handle cast (Variant &&src, return_value_policy policy, handle parent)
 

Detailed Description

template<template< typename...> class V, typename... Ts>
struct variant_caster< V< Ts...> >

Definition at line 337 of file stl.h.


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