Lines Matching refs:op
300 #define DEFINE_C2_CNTR_BINARY_OP(attrib, op, op_assign) \ argument
308 attrib inline constexpr c2_cntr_t<T> operator op(const U &value) const { \
309 return c2_cntr_t<T>(mValue op compat::get(value)); \
313 attrib inline constexpr c2_cntr_t<U> operator op(const c2_cntr_t<U> &value) const { \
314 return c2_cntr_t<U>(U(mValue) op value.peeku()); \
317 #define DEFINE_C2_CNTR_UNARY_OP(attrib, op) \ argument
318 attrib inline constexpr c2_cntr_t<T> operator op() const { \
319 return c2_cntr_t<T>(op mValue); \
322 #define DEFINE_C2_CNTR_CREMENT_OP(attrib, op) \ argument
323 attrib inline c2_cntr_t<T> &operator op() { \
324 op mValue; \
327 attrib inline c2_cntr_t<T> operator op(int) { \
328 return c2_cntr_t<T, void>(mValue op); \