File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 7049
7049
7050
7050
\pnum
7051
7051
If a structured binding declaration appears as a \grammarterm {condition},
7052
- the decision variable\iref {stmt.pre } of the condition is \tcode {e}.
7052
+ the decision variable\iref {stmt.pre } of the condition is \exposid {e}.
7053
7053
7054
7054
\pnum
7055
7055
If the \grammarterm {initializer} refers to
7115
7115
that refers to the object bound to $ \tcode {r}_i$ ;
7116
7116
the referenced type is $ \tcode {T}_i$ .
7117
7117
The initialization of \tcode {e} and
7118
- any conversion of \tcode {e} considered as a decision variable\iref {stmt.pre }
7118
+ any conversion of \exposid {e} considered as a decision variable\iref {stmt.pre }
7119
7119
is sequenced before the initialization of any $ \tcode {r}_i$ .
7120
7120
The initialization of $ \tcode {r}_i$ is sequenced before
7121
7121
the initialization of $ \tcode {r}_j$ if $ i < j$ .
Original file line number Diff line number Diff line change 33
33
\begin {bnf }
34
34
\nontermdef {condition}\br
35
35
expression\br
36
- \opt {attribute-specifier-seq} decl-specifier-seq declarator brace-or-equal-initializer
36
+ \opt {attribute-specifier-seq} decl-specifier-seq declarator brace-or-equal-initializer\br
37
37
structured-binding-declaration initializer
38
38
\end {bnf }
39
39
100
100
the type of the identifier being declared is deduced from the initializer as described in~\ref {dcl.spec.auto }.
101
101
102
102
\pnum
103
- The \defn {decision variable} of a \grammarterm {condition}
103
+ The \defnadj {decision}{ variable} of a \grammarterm {condition}
104
104
that is neither an \grammarterm {expression} nor a structured binding declaration
105
105
is the declared variable.
106
106
The decision variable of a \grammarterm {condition}
107
107
that is a structured binding declaration is specified in \ref {dcl.struct.bind }.
108
108
109
109
\pnum
110
- The value of a \grammarterm {condition} that not an \grammarterm {expression}
110
+ The value of a \grammarterm {condition} that is not an \grammarterm {expression}
111
111
in a statement other than a \keyword {switch} statement is the value of the
112
112
decision variable
113
113
contextually converted to \tcode {bool}\iref {conv }.
You can’t perform that action at this time.
0 commit comments