Public Types | |
template<typename T_ > | |
using | cast_op_type = conditional_t< std::is_same< remove_reference_t< T_ >, const ConstRefCasted * >::value, const ConstRefCasted *, conditional_t< std::is_same< T_, const ConstRefCasted & >::value, const ConstRefCasted &, conditional_t< std::is_same< remove_reference_t< T_ >, ConstRefCasted * >::value, ConstRefCasted *, conditional_t< std::is_same< T_, ConstRefCasted & >::value, ConstRefCasted &, ConstRefCasted && > >> > |
Public Member Functions | |
bool | load (handle, bool) |
operator const ConstRefCasted & () | |
operator const ConstRefCasted * () | |
operator ConstRefCasted & () | |
operator ConstRefCasted && () | |
operator ConstRefCasted * () | |
Static Public Attributes | |
static constexpr auto | name = const_name<ConstRefCasted>() |
Private Attributes | |
ConstRefCasted | value = {0} |
Definition at line 21 of file test_builtin_casters.cpp.
using type_caster< ConstRefCasted >::cast_op_type = conditional_t< std::is_same<remove_reference_t<T_>, const ConstRefCasted *>::value, const ConstRefCasted *, conditional_t< std::is_same<T_, const ConstRefCasted &>::value, const ConstRefCasted &, conditional_t<std::is_same<remove_reference_t<T_>, ConstRefCasted *>::value, ConstRefCasted *, conditional_t<std::is_same<T_, ConstRefCasted &>::value, ConstRefCasted &, ConstRefCasted &&> >> > |
Definition at line 67 of file test_builtin_casters.cpp.
|
inline |
Definition at line 27 of file test_builtin_casters.cpp.
|
inlineexplicit |
Definition at line 43 of file test_builtin_casters.cpp.
|
inlineexplicit |
Definition at line 47 of file test_builtin_casters.cpp.
|
inlineexplicit |
Definition at line 34 of file test_builtin_casters.cpp.
|
inlineexplicit |
Definition at line 29 of file test_builtin_casters.cpp.
|
inlineexplicit |
Definition at line 38 of file test_builtin_casters.cpp.
|
static |
Definition at line 23 of file test_builtin_casters.cpp.
|
private |
Definition at line 70 of file test_builtin_casters.cpp.