Cannot change:
1. Precedence of operator (order of evaluation)
3. Number of operands
1. Precedence of operator (order of evaluation)
- Use parentheses to force an order of operators.
3. Number of operands
- e.g., & is unary, can only act on one operand.
- Cannot create new operators.
- Operators must be overloaded explicitly.
Tags:
Cpp