...
Note that not all instances of a comma in C++ code denote a usage of the comma operator. For example, the comma between arguments in a function call is not the comma operator.
Note that overloaded operators do not affect the defined-ness of expressions. For instance, the above statements would be undefined even if operator++
or operator[]
were overloaded for i
or a[]
.
Noncompliant Code Example
...