Skip to content

Commit e18a854

Browse files
committed
[basic.scope.pdecl], [temp] Replace "expansion statement" with "expansion-statement"
Fixes NB US 2-404 (C++26 CD).
1 parent cd23bd1 commit e18a854

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

source/basic.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1333,7 +1333,7 @@
13331333
of a range-based \keyword{for} statement\iref{stmt.ranged}
13341334
is immediately after the \grammarterm{for-range-initializer}.
13351335
The locus of a \grammarterm{for-range-declaration}
1336-
of an expansion statement\iref{stmt.expand}
1336+
of an \grammarterm{expansion-statement}\iref{stmt.expand}
13371337
is immediately after the \grammarterm{expansion-initializer}.
13381338

13391339
\pnum

source/templates.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
\item a template,
174174
\item an entity defined\iref{basic.def} or created\iref{class.temporary}
175175
within the \grammarterm{compound-statement}
176-
of an expansion statement\iref{stmt.expand},
176+
of an \grammarterm{expansion-statement}\iref{stmt.expand},
177177
\item an entity defined or created in a templated entity,
178178
\item a member of a templated entity,
179179
\item an enumerator for an enumeration that is a templated entity, or
@@ -5018,7 +5018,7 @@
50185018
no valid specialization,
50195019
ignoring \grammarterm{static_assert-declaration}s that fail,
50205020
can be generated for the \grammarterm{compound-statement}
5021-
of an expansion statement and there is no instantiation of it, or
5021+
of an \grammarterm{expansion-statement} and there is no instantiation of it, or
50225022
\item
50235023
no valid specialization,
50245024
ignoring \grammarterm{static_assert-declaration}{s} that fail,
@@ -5747,7 +5747,7 @@
57475747
a \grammarterm{conversion-function-id} that specifies a dependent type,
57485748
\item
57495749
a name $N$ introduced by the \grammarterm{for-range-declaration}
5750-
of an expansion statement $S$
5750+
of an \grammarterm{expansion-statement} $S$
57515751
if the type specified for $N$ contains a placeholder type and either
57525752
\begin{itemize}
57535753
\item the \grammarterm{expansion-initializer} of $S$ is type-dependent or
@@ -5873,7 +5873,7 @@
58735873
it is the name of a constant template parameter,
58745874
\item
58755875
it is a name introduced by the \grammarterm{for-range-declaration}
5876-
of an expansion statement\iref{stmt.expand},
5876+
of an \grammarterm{expansion-statement}\iref{stmt.expand},
58775877
\item
58785878
it names a static data member that is a dependent member of the current
58795879
instantiation and is not initialized in a \grammarterm{member-declarator},
@@ -6180,7 +6180,7 @@
61806180

61816181
\pnum
61826182
For the \grammarterm{compound-statement}
6183-
of an expansion statement\iref{stmt.expand},
6183+
of an \grammarterm{temp.point}\iref{stmt.expand},
61846184
the point of instantiation is the point of instantiation
61856185
of its enclosing templated entity, if any.
61866186
Otherwise, it immediately follows the namespace-scope declaration

0 commit comments

Comments
 (0)