A parenthesized-expression consists of an expression enclosed in parentheses.
parenthesized-expression:
( expression )
A parenthesized-expression is evaluated by evaluating the expression within
the parentheses. If the
expression within the parentheses denotes a namespace, type, or method
group, a compile-time error occurs.
Otherwise, the result of the parenthesized-expression is the result of the
evaluation of the contained
expression.
parenthesized-expression:
( expression )
A parenthesized-expression is evaluated by evaluating the expression within
the parentheses. If the
expression within the parentheses denotes a namespace, type, or method
group, a compile-time error occurs.
Otherwise, the result of the parenthesized-expression is the result of the
evaluation of the contained
expression.
本文详细解释了括号表达式的构成及其评估方式。括号表达式由括在圆括号内的表达式组成,其评估过程涉及计算括号内的表达式。若括号内的表达式指向命名空间、类型或方法组,则会出现编译时错误;否则,括号表达式的结果即为括号内表达式计算的结果。
9626

被折叠的 条评论
为什么被折叠?



