Searched refs:self_t (Results 1 – 1 of 1) sorted by relevance
/external/python/pybind11/include/pybind11/ |
D | operators.h | 40 struct self_t { }; struct 41 static const self_t self = self_t(); 47 inline self_t __self() { return self; } in __self() 56 using L_type = conditional_t<std::is_same<L, self_t>::value, Base, L>; in execute() 57 using R_type = conditional_t<std::is_same<R, self_t>::value, Base, R>; in execute() 68 using L_type = conditional_t<std::is_same<L, self_t>::value, Base, L>; in execute_cast() 69 using R_type = conditional_t<std::is_same<R, self_t>::value, Base, R>; in execute_cast() 91 inline op_<op_##id, op_l, self_t, self_t> op(const self_t &, const self_t &) { \ 92 return op_<op_##id, op_l, self_t, self_t>(); \ 94 template <typename T> op_<op_##id, op_l, self_t, T> op(const self_t &, const T &) { \ [all …]
|