|
|
thing objectThing( d ? 0 : S);
(Q, R, S)
is int, and its value is S (see the semantics of the comma operator for more information). At a more fundamental level, you're using (Q, R, S)
as if it was a parameter list. A parameter list is not an expression, so it can't be an operand of ?:.
|
|
|
|
|
|