Skip to content

Commit 0aa1b4c

Browse files
committed
CWG3108 Reflection on type aliases
1 parent ab819c8 commit 0aa1b4c

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
@@ -6793,9 +6793,11 @@
67936793
a placeholder type\iref{dcl.spec.auto.general},
67946794
$R$ is ill-formed.
67956795
\item
6796-
Otherwise, if the \grammarterm{type-id} names a type alias
6797-
that is a specialization of an alias template\iref{temp.alias},
6798-
$R$ represents that type alias.
6796+
Otherwise, if the \grammarterm{type-id} is of the form
6797+
\opt{\grammarterm{nested-name-specifier}} \opt{\keyword{template}} \grammarterm{simple-template-id}
6798+
and whose terminal name is a \grammarterm{template-name}
6799+
that names an alias template\iref{temp.alias},
6800+
$R$ represents the type alias so named.
67996801
\item
68006802
Otherwise, $R$ represents the type denoted by the \grammarterm{type-id}.
68016803
\end{itemize}

0 commit comments

Comments
 (0)