HepMC3 event record library
Public Types | Public Member Functions | Static Public Member Functions | Data Fields | Static Public Attributes
type_caster< CharT, enable_if_t< is_std_char_type< CharT >::value > > Struct Template Reference
+ Collaboration diagram for type_caster< CharT, enable_if_t< is_std_char_type< CharT >::value > >:

Public Types

using StringType = std::basic_string< CharT >
 
using StringCaster = type_caster< StringType >
 
template<typename _T >
using cast_op_type = pybind11::detail::cast_op_type< _T >
 

Public Member Functions

bool load (handle src, bool convert)
 
 operator CharT * ()
 
 operator CharT & ()
 

Static Public Member Functions

static handle cast (const CharT *src, return_value_policy policy, handle parent)
 
static handle cast (CharT src, return_value_policy policy, handle parent)
 

Data Fields

StringCaster str_caster
 
bool none = false
 
CharT one_char = 0
 

Static Public Attributes

static constexpr auto name = _(PYBIND11_STRING_NAME)
 

Detailed Description

template<typename CharT>
struct type_caster< CharT, enable_if_t< is_std_char_type< CharT >::value > >

Definition at line 1317 of file cast.h.


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