Scarab  2.8.1
Project 8 C++ Utility Library
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
void_caster< T > Struct Template Reference

#include <cast.h>

Inheritance diagram for void_caster< T >:
Inheritance graph

Public Types

template<typename T_ >
using cast_op_type = pybind11::detail::movable_cast_op_type< T_ >
 

Public Member Functions

bool load (handle src, bool)
 
 operator T* ()
 
 operator T& ()
 
 operator T&& () &&
 

Static Public Member Functions

static handle cast (T, return_value_policy, handle)
 
template<typename T_ , enable_if_t< std::is_same< T, remove_cv_t< T_ >>::value, int > = 0>
static handle cast (T_ *src, return_value_policy policy, handle parent)
 

Static Public Attributes

static constexpr auto name = _("None")
 

Protected Attributes

value
 

Detailed Description

template<typename T>
struct pybind11::detail::void_caster< T >

Definition at line 1058 of file cast.h.

Member Typedef Documentation

◆ cast_op_type

Definition at line 1068 of file cast.h.

Member Function Documentation

◆ cast() [1/2]

static handle cast ( ,
return_value_policy  ,
handle   
)
inlinestatic

Definition at line 1065 of file cast.h.

◆ cast() [2/2]

static handle cast ( T_ *  src,
return_value_policy  policy,
handle  parent 
)
inlinestatic

Definition at line 1068 of file cast.h.

◆ load()

bool load ( handle  src,
bool   
)
inline

Definition at line 1060 of file cast.h.

◆ operator T&()

operator T & ( )
inline

Definition at line 1068 of file cast.h.

◆ operator T&&()

operator T && ( ) &&
inline

Definition at line 1068 of file cast.h.

◆ operator T*()

operator T* ( )
inline

Definition at line 1068 of file cast.h.

Member Data Documentation

◆ name

constexpr auto name = _("None")
static

Definition at line 1068 of file cast.h.

◆ value

T value
protected

Definition at line 1068 of file cast.h.


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