Lines Matching refs:op
58 using op = op_impl<id, ot, Base, L_type, R_type>;
59 cl.def(op::name(), &op::execute, is_operator(), extra...);
63 &op::execute, is_operator(), extra...);
70 using op = op_impl<id, ot, Base, L_type, R_type>;
71 cl.def(op::name(), &op::execute_cast, is_operator(), extra...);
75 &op::execute, is_operator(), extra...);
80 #define PYBIND11_BINARY_OPERATOR(id, rid, op, expr) \
91 inline op_<op_##id, op_l, self_t, self_t> op(const self_t &, const self_t &) { \
94 template <typename T> op_<op_##id, op_l, self_t, T> op(const self_t &, const T &) { \
97 template <typename T> op_<op_##id, op_r, T, self_t> op(const T &, const self_t &) { \
101 #define PYBIND11_INPLACE_OPERATOR(id, op, expr) \
107 template <typename T> op_<op_##id, op_l, self_t, T> op(const self_t &, const T &) { \
111 #define PYBIND11_UNARY_OPERATOR(id, op, expr) \
117 inline op_<op_##id, op_u, self_t, undefined_t> op(const self_t &) { \