|
template<typename T > |
| arg_v (const char *name, T &&x, const char *descr=nullptr) |
| Direct construction with name, default, and description. More...
|
|
template<typename T > |
| arg_v (const arg &base, T &&x, const char *descr=nullptr) |
| Called internally when invoking py::arg("a") = value More...
|
|
arg_v & | noconvert (bool flag=true) |
| Same as arg::noconvert() , but returns *this as arg_v&, not arg&. More...
|
|
arg_v & | none (bool flag=true) |
| Same as arg::nonone() , but returns *this as arg_v&, not arg&. More...
|
|
constexpr | arg (const char *name=nullptr) |
| Constructs an argument with the name of the argument; if null or omitted, this is a positional argument. More...
|
|
arg & | noconvert (bool flag=true) |
| Indicate that the type should not be converted in the type caster. More...
|
|
arg & | none (bool flag=true) |
| Indicates that the argument should/shouldn't allow None (e.g. for nullable pointer args) More...
|
|
template<typename T > |
arg_v | operator= (T &&value) const |
| Assign a value to this argument. More...
|
|
Annotation for arguments with values
Definition at line 1870 of file cast.h.