Helper class which loads arguments for C++ functions called from Python. More...
#include <cast.h>
Public Member Functions | |
bool | load_args (function_call &call) |
template<typename Return , typename Guard , typename Func > | |
enable_if_t<!std::is_void< Return >::value, Return > | call (Func &&f) && |
template<typename Return , typename Guard , typename Func > | |
enable_if_t< std::is_void< Return >::value, void_type > | call (Func &&f) && |
Static Public Attributes | |
static constexpr bool | has_kwargs = kwargs_pos < 0 |
static constexpr bool | has_args = args_pos < 0 |
static constexpr auto | arg_names = concat(type_descr(make_caster<Args>::name)...) |
Helper class which loads arguments for C++ functions called from Python.
|
inline |
|
inline |
|
inline |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |