Skip to content

Commit 721bbea

Browse files
committed
[temp.point] itemize some paragraphs
1 parent 503b4b2 commit 721bbea

File tree

1 file changed

+31
-17
lines changed

1 file changed

+31
-17
lines changed

source/templates.tex

+31-17
Original file line numberDiff line numberDiff line change
@@ -5313,11 +5313,15 @@
53135313
For a function template specialization, a member function template
53145314
specialization, or a specialization for a member function or static data member
53155315
of a class template,
5316-
if the specialization is implicitly instantiated because it is referenced
5317-
from within another template specialization and
5318-
the context from which it is referenced depends on a template parameter,
53195316
the point of instantiation of the specialization is the point of instantiation
5320-
of the enclosing specialization.
5317+
of the enclosing specialization if
5318+
\begin{itemize}
5319+
\item the specialization is implicitly instantiated because it is referenced
5320+
from within another template specialization, and
5321+
5322+
\item the context from which it is referenced depends on a template parameter.
5323+
\end{itemize}
5324+
53215325
Otherwise, the point of instantiation for such a specialization immediately
53225326
follows the namespace scope declaration
53235327
or definition that refers to the specialization.
@@ -5331,29 +5335,39 @@
53315335

53325336
\pnum
53335337
For a \grammarterm{noexcept-specifier} of a function template
5334-
specialization or specialization of a member function of a class template, if
5335-
the \grammarterm{noexcept-specifier} is implicitly instantiated because
5336-
it is needed by another template specialization and the context that requires
5337-
it depends on a template parameter, the point of instantiation of the
5338+
specialization or specialization of a member function of a class template,
5339+
the point of instantiation of the
53385340
\grammarterm{noexcept-specifier} is the point of instantiation of the
5339-
specialization that requires it. Otherwise, the point of instantiation for such
5341+
specialization that requires it if
5342+
\begin{itemize}
5343+
\item the \grammarterm{noexcept-specifier} is implicitly instantiated because
5344+
it is needed by another template specialization, and
5345+
5346+
\item the context that requires
5347+
it depends on a template parameter.
5348+
\end{itemize}
5349+
5350+
Otherwise, the point of instantiation for such
53405351
a \grammarterm{noexcept-specifier} immediately follows the namespace
53415352
scope declaration or definition that requires the
53425353
\grammarterm{noexcept-specifier}.
53435354

5344-
5345-
53465355
\pnum
53475356
For a class template specialization, a class member template specialization,
53485357
or a specialization for a class member of a class template,
5349-
if the specialization is implicitly instantiated because it is referenced
5350-
from within another template specialization,
5351-
if the context from which the specialization is referenced depends on a
5352-
template parameter,
5353-
and if the specialization is not instantiated previous to the instantiation of
5354-
the enclosing template,
53555358
the point of instantiation is immediately before the point of instantiation of
5359+
the enclosing template if
5360+
\begin{itemize}
5361+
\item the specialization is implicitly instantiated because it is referenced
5362+
from within another template specialization, and
5363+
5364+
\item the context from which the specialization is referenced depends on a
5365+
template parameter, and
5366+
5367+
\item the specialization is not instantiated previous to the instantiation of
53565368
the enclosing template.
5369+
\end{itemize}
5370+
53575371
Otherwise, the point of instantiation for such a specialization immediately
53585372
precedes the namespace scope declaration
53595373
or definition that refers to the specialization.

0 commit comments

Comments
 (0)