Skip to content

Commit 598d74a

Browse files
author
Dawn Perchik
committed
CWG2234 Missing rules for simple-template-id as class-name
1 parent 8528466 commit 598d74a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source/classes.tex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@
5555
\terminal{union}
5656
\end{bnf}
5757

58+
A class declaration where the \grammarterm{class-name}
59+
in the \grammarterm{class-head-name} is a \grammarterm{simple-template-id}
60+
shall be an explicit specialization\iref{temp.expl.spec} or
61+
a partial specialization\iref{temp.class.spec}.
5862
A \grammarterm{class-specifier} whose
5963
\grammarterm{class-head} omits the
6064
\grammarterm{class-head-name} defines an unnamed class. \begin{note} An unnamed class thus can't

0 commit comments

Comments
 (0)