Skip to content

Commit 4ceed3f

Browse files
burblebeetkoeppe
authored andcommitted
CWG2874 Qualified declarations of partial specializations
1 parent be6efd9 commit 4ceed3f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

source/declarations.tex

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1512,8 +1512,10 @@
15121512
\indextext{name!elaborated!\idxcode{enum}}%
15131513
If an \grammarterm{elaborated-type-specifier} is the sole constituent of a
15141514
declaration, the declaration is ill-formed unless it is an explicit
1515-
specialization\iref{temp.expl.spec}, an explicit
1516-
instantiation\iref{temp.explicit} or it has one of the following
1515+
specialization\iref{temp.expl.spec},
1516+
a partial specialization\iref{temp.spec.partial},
1517+
an explicit
1518+
instantiation\iref{temp.explicit}, or it has one of the following
15171519
forms:
15181520

15191521
\begin{ncsimplebnf}
@@ -1527,7 +1529,7 @@
15271529
The second case shall appear only
15281530
in an \grammarterm{explicit-specialization}\iref{temp.expl.spec} or
15291531
in a \grammarterm{template-declaration}
1530-
(where it declares a partial specialization\iref{temp.decls}).
1532+
(where it declares a partial specialization).
15311533
The \grammarterm{attribute-specifier-seq}, if any, appertains
15321534
to the class or template being declared.
15331535

0 commit comments

Comments
 (0)