Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/basic.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1333,7 +1333,7 @@
of a range-based \keyword{for} statement\iref{stmt.ranged}
is immediately after the \grammarterm{for-range-initializer}.
The locus of a \grammarterm{for-range-declaration}
of an expansion statement\iref{stmt.expand}
of an \grammarterm{expansion-statement}\iref{stmt.expand}
is immediately after the \grammarterm{expansion-initializer}.

\pnum
Expand Down
10 changes: 5 additions & 5 deletions source/templates.tex
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
\item a template,
\item an entity defined\iref{basic.def} or created\iref{class.temporary}
within the \grammarterm{compound-statement}
of an expansion statement\iref{stmt.expand},
of an \grammarterm{expansion-statement}\iref{stmt.expand},
\item an entity defined or created in a templated entity,
\item a member of a templated entity,
\item an enumerator for an enumeration that is a templated entity, or
Expand Down Expand Up @@ -5018,7 +5018,7 @@
no valid specialization,
ignoring \grammarterm{static_assert-declaration}s that fail,
can be generated for the \grammarterm{compound-statement}
of an expansion statement and there is no instantiation of it, or
of an \grammarterm{expansion-statement} and there is no instantiation of it, or
\item
no valid specialization,
ignoring \grammarterm{static_assert-declaration}{s} that fail,
Expand Down Expand Up @@ -5747,7 +5747,7 @@
a \grammarterm{conversion-function-id} that specifies a dependent type,
\item
a name $N$ introduced by the \grammarterm{for-range-declaration}
of an expansion statement $S$
of an \grammarterm{expansion-statement} $S$
if the type specified for $N$ contains a placeholder type and either
\begin{itemize}
\item the \grammarterm{expansion-initializer} of $S$ is type-dependent or
Expand Down Expand Up @@ -5873,7 +5873,7 @@
it is the name of a constant template parameter,
\item
it is a name introduced by the \grammarterm{for-range-declaration}
of an expansion statement\iref{stmt.expand},
of an \grammarterm{expansion-statement}\iref{stmt.expand},
\item
it names a static data member that is a dependent member of the current
instantiation and is not initialized in a \grammarterm{member-declarator},
Expand Down Expand Up @@ -6180,7 +6180,7 @@

\pnum
For the \grammarterm{compound-statement}
of an expansion statement\iref{stmt.expand},
of an \grammarterm{expansion-statement}\iref{stmt.expand},
the point of instantiation is the point of instantiation
of its enclosing templated entity, if any.
Otherwise, it immediately follows the namespace-scope declaration
Expand Down