Skip to content

Commit 37ccff2

Browse files
committed
[dcl.fct.def.default] Clarify that the rule concerning how the type of a
defaulted function can differ from the type of an implicitly-declared function only applies to the functions that are implicitly declared.
1 parent ba642aa commit 37ccff2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

source/declarations.tex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6067,9 +6067,8 @@
60676067
\item not have default arguments.
60686068
\end{itemize}
60696069

6070-
% FIXME: there's no such thing as an implicit declaration of a comparison operator
60716070
\pnum
6072-
The type \tcode{T}$_1$ of an explicitly defaulted function \tcode{F}
6071+
The type \tcode{T}$_1$ of an explicitly defaulted special member function \tcode{F}
60736072
is allowed to differ from the type \tcode{T}$_2$ it would have had
60746073
if it were implicitly declared, as follows:
60756074
\begin{itemize}

0 commit comments

Comments
 (0)