Home
last modified time | relevance | path

Searched refs:has_kw_only_args (Results 1 – 2 of 2) sorted by relevance

/external/python/pybind11/include/pybind11/
Dattr.h145 has_kwargs(false), has_kw_only_args(false), prepend(false) { }
193 bool has_kw_only_args : 1;
392 if (r->has_kw_only_args) process_kw_only_arg(a, r);
425 if (r->has_kw_only_args) process_kw_only_arg(a, r);
432 r->has_kw_only_args = true;
Dpybind11.h205 constexpr bool has_kw_only_args = any_of<std::is_same<kw_only, Extra>...>::value, in PYBIND11_NAMESPACE_BEGIN() local
209 …static_assert(has_arg_annotations || !has_kw_only_args, "py::kw_only requires the use of argument … in PYBIND11_NAMESPACE_BEGIN()
211 …static_assert(!(has_args && has_kw_only_args), "py::kw_only cannot be combined with a py::args arg… in PYBIND11_NAMESPACE_BEGIN()