Closed
Description
Affected rules
M5-2-10
Description
The title for this rule states "The increment (++) and decrement (--) operators should not be mixed with other operators in an expression.". However, the rationale makes clear that this is only intended to cover arithmetic operators:
The use of increment and decrement operators in combination with other arithmetic operators is
not recommended
Example
This will help reduce false positives on idiomatic code such as *i++
.
*iter++;