Home
last modified time | relevance | path

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

/external/python/pybind11/include/pybind11/detail/
Dinit.h96 void construct(value_and_holder &v_h, Cpp<Class> *ptr, bool need_alias) { in construct() argument
98 if (Class::has_alias && need_alias && !is_alias<Class>(ptr)) { in construct()
133 void construct(value_and_holder &v_h, Holder<Class> holder, bool need_alias) { in construct() argument
137 if (Class::has_alias && need_alias && !is_alias<Class>(ptr)) in construct()
150 void construct(value_and_holder &v_h, Cpp<Class> &&result, bool need_alias) { in construct() argument
153 if (Class::has_alias && need_alias) in construct()
287 void setstate(value_and_holder &v_h, T &&result, bool need_alias) {
288 construct<Class>(v_h, std::forward<T>(result), need_alias);
294 void setstate(value_and_holder &v_h, std::pair<T, O> &&result, bool need_alias) {
295 construct<Class>(v_h, std::move(result.first), need_alias);