Skip to content

Commit 86619b3

Browse files
eisenwavetkoeppe
authored andcommitted
CWG3108 Reflection on type aliases
1 parent b3ac849 commit 86619b3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

source/expressions.tex

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6812,9 +6812,11 @@
68126812
a placeholder type\iref{dcl.spec.auto.general},
68136813
$R$ is ill-formed.
68146814
\item
6815-
Otherwise, if the \grammarterm{type-id} names a type alias
6816-
that is a specialization of an alias template\iref{temp.alias},
6817-
$R$ represents that type alias.
6815+
Otherwise, if the \grammarterm{type-id} is of the form
6816+
\opt{\grammarterm{nested-name-specifier}} \opt{\keyword{template}} \grammarterm{simple-template-id}
6817+
and whose terminal name is a \grammarterm{template-name}
6818+
that names an alias template\iref{temp.alias},
6819+
$R$ represents the type alias so named.
68186820
\item
68196821
Otherwise, $R$ represents the type denoted by the \grammarterm{type-id}.
68206822
\end{itemize}

0 commit comments

Comments
 (0)