HepMC3 event record library
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes
type_caster< std::pair< T1, T2 > > Class Template Reference
+ Inheritance diagram for type_caster< std::pair< T1, T2 > >:
+ Collaboration diagram for type_caster< std::pair< T1, T2 > >:

Public Types

using cast_op_type = type
 

Public Member Functions

bool load (handle src, bool convert)
 
 operator type ()&
 
 operator type ()&&
 

Static Public Member Functions

static handle cast (T &&src, return_value_policy policy, handle parent)
 
static handle cast (T *src, return_value_policy policy, handle parent)
 

Static Public Attributes

static constexpr auto name
 

Protected Member Functions

type implicit_cast (index_sequence< Is...>)&
 
type implicit_cast (index_sequence< Is...>)&&
 
bool load_impl (const sequence &seq, bool convert, index_sequence< Is...>)
 

Static Protected Member Functions

static constexpr bool load_impl (const sequence &, bool, index_sequence<>)
 
static handle cast_impl (T &&src, return_value_policy policy, handle parent, index_sequence< Is...>)
 

Protected Attributes

std::pair< make_caster< Ts >...> subcasters
 

Detailed Description

template<typename T1, typename T2>
class type_caster< std::pair< T1, T2 > >

Definition at line 1481 of file cast.h.


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