Skip to content

Commit 057b5f6

Browse files
committed
CWG2477 Defaulted vs deleted copy constructors/assignment operators
1 parent d2a0e57 commit 057b5f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/classes.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1480,7 +1480,7 @@
14801480
a non-explicit one is declared \defnx{implicitly}{constructor!copy!implicitly declared}.
14811481
If the class definition declares a move
14821482
constructor or move assignment operator, the implicitly declared copy
1483-
constructor is defined as deleted; otherwise, it is defined as
1483+
constructor is defined as deleted; otherwise, it is
14841484
defaulted\iref{dcl.fct.def}.
14851485
The latter case is deprecated if the class has a user-declared copy assignment
14861486
operator or a user-declared destructor \iref{depr.impldec}.
@@ -1734,7 +1734,7 @@
17341734
one is declared \defnx{implicitly}{assignment operator!copy!implicitly declared}.
17351735
If the class definition declares a move
17361736
constructor or move assignment operator, the implicitly declared copy
1737-
assignment operator is defined as deleted; otherwise, it is defined as
1737+
assignment operator is defined as deleted; otherwise, it is
17381738
defaulted\iref{dcl.fct.def}.
17391739
The latter case is deprecated if the class has a user-declared copy constructor
17401740
or a user-declared destructor \iref{depr.impldec}.

0 commit comments

Comments
 (0)