C.167: Use an operator for an operation with its conventional meaning
C.167:为具有约定俗成语义的操作使用运算符
Reason...composable with code that rely on the << convention for output:
如果只考虑自己的话,cout_my_class还不错,但是它无法在通过运算符输出的代码中使用...(或者和这样的代码一起使用)。...;
Note(注意)
There are strong and vigorous conventions for the meaning most operators, such as
很多操作符具有强烈而且活跃的约定含义...=, , and >=),
比较运算符
arithmetic operations (+, -, *, /, and %)
数学运算符
access operations (., ->,