Searched refs:has_args (Results 1 - 3 of 3) sorted by relevance

/gem5/ext/pybind11/include/pybind11/
H A Dattr.h137 is_operator(false), has_args(false), has_kwargs(false), is_method(false) { }
176 bool has_args : 1; member in struct:function_record
488 constexpr bool expected_num_args(size_t nargs, bool has_args, bool has_kwargs) { argument
489 return named == 0 || (self + named + has_args + has_kwargs) == nargs;
H A Dpybind11.h133 static_assert(expected_num_args<Extra...>(sizeof...(Args), cast_in::has_args, cast_in::has_kwargs),
178 if (cast_in::has_args) rec->has_args = true;
487 if (func.has_args) --pos_args; // (but don't count py::args
490 if (!func.has_args && n_args_in > pos_args)
576 if (func.has_args) {
H A Dcast.h1902 static constexpr bool has_args = args_pos < 0;

Completed in 26 milliseconds