Skip to content

Commit

Permalink
Apply Jens' feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
cor3ntin committed Dec 28, 2024
1 parent 0814268 commit 9fc22b5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions source/templates.tex
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,8 @@
called \tcode{T}, rather than an unnamed non-type
template parameter of class \tcode{T}.
\end{example}
A template parameter declaration shall not
have a \grammarterm{storage-class-specifier}.
A \grammarterm{parameter-declaration} of a \grammarterm{template-parameter}
shall not have a \grammarterm{storage-class-specifier}.
Types shall not be defined in a template parameter
declaration.

Expand Down Expand Up @@ -560,7 +560,7 @@
\indextext{\idxcode{<}!template and}%
\pnum
When parsing a default template argument
for a non-type template-parameter,
for a non-type template parameter,
the first non-nested \tcode{>} is taken as
the end of the \grammarterm{template-parameter-list}
rather than a greater-than operator.
Expand Down Expand Up @@ -1109,7 +1109,7 @@
A \grammarterm{template-argument} followed by an ellipsis is
a pack expansion\iref{temp.variadic}.

\rSec2[temp.arg.type]{Type Template arguments}
\rSec2[temp.arg.type]{Type template arguments}

\pnum
A
Expand Down Expand Up @@ -1143,7 +1143,7 @@
A template type argument can be an incomplete type\iref{term.incomplete.type}.
\end{note}

\rSec2[temp.arg.nontype]{non-type template arguments}
\rSec2[temp.arg.nontype]{Non-type template arguments}

\pnum
A template argument $E$ for
Expand Down Expand Up @@ -4424,7 +4424,7 @@
\indextext{type concept|see{concept, type}}%
A \defnx{type concept}{concept!type}
is a concept whose prototype parameter
is a type template-parameter.
is a type template parameter.

\rSec1[temp.res]{Name resolution}

Expand Down

0 comments on commit 9fc22b5

Please sign in to comment.