Open junxnone opened 1 year ago
返回值类型 operator 运算符 (形参){ ... 重载实现 ... }
+ - * / % ^ & | ~ ! = < > += -= *= /= %= ^= &= |= << >> >>= <<= == != <= >= <=> (since C++20) && || ++ -- , ->* -> ( ) [ ]
运算符重载
可以重载的运算符
Reference