Does the comma operator in an array have a name?
有逗号运算符数组中有名字吗?
The comma operator has left-to-right associativity.
逗号运算符具有从左向右的关联性。
Avoid the use of the comma operator except for very disciplined use in the control part of for statements.
避免使用逗号操作符,除非在特定的for语句的控制部分。
The comma operator (as described in this subclause) cannot appear in contexts where a comma is used to separate items in a list (such as arguments to functions or lists of initializers).
逗号操作符(如本小节)中描述不能出现在上下文中使用逗号分隔列表中的条目(如参数初始化函数或列表)。
Expressions must not end with an operator, function, comma, or opening parenthesis.
不可以用操作符、函数、逗号或开括号作为表达式结束符。
Expressions must not begin with an operator, comma, or closing parenthesis.
不可以用操作符、逗号或闭括号作为表达式的开始符。
If the left expression to comma-operator has no side effects, the compiler might omit code generation for the expression.
如果逗号运算符左侧的表达式没有任何副作用,则编译器可能不再生成该表达式的代码。
It can include the range operator (a colon), the intersection operator (a space), or the union operator (a comma).
范围名称可以包括范围运算符(冒号)、交集运算符(空格)或并集运算符(逗号)。
It can include the range operator (a colon), the intersection operator (a space), or the union operator (a comma).
范围名称可以包括范围运算符(冒号)、交集运算符(空格)或并集运算符(逗号)。
应用推荐