Skip to content

[temp.dep.expr] Introduce nested bullets for clarity #6557

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
16 changes: 12 additions & 4 deletions source/templates.tex
Original file line number Diff line number Diff line change
Expand Up @@ -5072,8 +5072,12 @@

\pnum
An \grammarterm{id-expression} is type-dependent
if it is a \grammarterm{template-id} that is not a concept-id and is dependent;
or if its terminal name is
if
\begin{itemize}
\item
it is a \grammarterm{template-id} that is not a concept-id and is dependent; or
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jensmaurer Aha, another list item ending in a semicolon!

\item
its terminal name is
\begin{itemize}
\item
associated by name lookup with one or more declarations
Expand Down Expand Up @@ -5108,11 +5112,15 @@
\item
a \grammarterm{conversion-function-id} that specifies a dependent type, or
\item
dependent
dependent; or
\end{itemize}
or if it names a dependent member of the current instantiation that is a static
\item
it names a dependent member of the current instantiation that is a static
data member of type
``array of unknown bound of \tcode{T}'' for some \tcode{T}\iref{temp.static}.
\end{itemize}

\pnum
Expressions of the following forms are type-dependent only if the type
specified by the
\grammarterm{type-id},
Expand Down