You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All grammars defined in [expr] that have the form X-expression are intended to interpret as expressions. And we use the literal word "expression" in another subclause such as [basic.def.odr] to define some rules for these expressions.
externint b;
int a = b;
b as the grammar component initializer that is an assignment-expression should eventually obey the rule defined for "expression" in [basic.def.odr](i.e. the variable b is odr-used by an expression). In the current draft, we just have a note specifying that X-expression is the syntax of an expression
[expr.pre] p1
[Note 1: [expr] defines the syntax, order of evaluation, and meaning of expressions. An expression is a sequence of operators and operands that specifies a computation. An expression can result in a value and can cause side effects. — end note]
Augment [syntax] p2 to cover the meaning of the note
Names for syntactic categories have generally been chosen according to the following rules:
[...]
X-expression is an expression with no context-dependent meaning.
The text was updated successfully, but these errors were encountered:
All grammars defined in [expr] that have the form X-expression are intended to interpret as expressions. And we use the literal word "expression" in another subclause such as [basic.def.odr] to define some rules for these expressions.
b
as the grammar component initializer that is an assignment-expression should eventually obey the rule defined for "expression" in [basic.def.odr](i.e. the variableb
is odr-used by an expression). In the current draft, we just have a note specifying that X-expression is the syntax of an expression[expr.pre] p1
Augment [syntax] p2 to cover the meaning of the note
The text was updated successfully, but these errors were encountered: