#include <functional.h>
Public Types | |
using | function_type = Return(*)(Args...) |
using | retval_type = conditional_t< std::is_same< Return, void >::value, void_type, Return > |
using | type = std::function< Return(Args...)> |
Public Member Functions | |
bool | load (handle src, bool convert) |
PYBIND11_TYPE_CASTER (type, _("Callable[[")+concat(make_caster< Args >::name...)+_("], ")+make_caster< retval_type >::name+_("]")) | |
Static Public Member Functions | |
template<typename Func > | |
static handle | cast (Func &&f_, return_value_policy policy, handle) |
Definition at line 19 of file functional.h.
using type_caster< std::function< Return(Args...)> >::function_type = Return (*) (Args...) |
Definition at line 22 of file functional.h.
using type_caster< std::function< Return(Args...)> >::retval_type = conditional_t<std::is_same<Return, void>::value, void_type, Return> |
Definition at line 21 of file functional.h.
using type_caster< std::function< Return(Args...)> >::type = std::function<Return(Args...)> |
Definition at line 20 of file functional.h.
|
inlinestatic |
Definition at line 85 of file functional.h.
|
inline |
Definition at line 25 of file functional.h.
type_caster< std::function< Return(Args...)> >::PYBIND11_TYPE_CASTER | ( | type | , |
_("Callable[[")+concat(make_caster< Args >::name...)+_("], ")+make_caster< retval_type >::name+_("]") | |||
) |