Skip to content

Commit 17e732c

Browse files
sdkrystianzygoloid
authored andcommitted
[class.mem] Deduction guides do not declare new members
1 parent dda3279 commit 17e732c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/classes.tex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,8 @@
518518
if it is
519519
\begin{itemize}
520520
\item a friend declaration\iref{class.friend},
521+
\item a \grammarterm{deduction-guide}\iref{temp.deduct.guide},
522+
\item a \grammarterm{template-declaration} whose \grammarterm{declaration} is one of the above,
521523
\item a \grammarterm{static_assert-declaration},
522524
\item a \grammarterm{using-declaration}\iref{namespace.udecl}, or
523525
\item an \grammarterm{empty-declaration}.

0 commit comments

Comments
 (0)