Skip to content

Commit b9ac44f

Browse files
burblebeetkoeppe
authored andcommitted
CWG2674 Prohibit explicit object parameters for constructors
1 parent 6798cee commit b9ac44f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/classes.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1221,6 +1221,9 @@
12211221
\pnum
12221222
A constructor shall not be a coroutine.
12231223

1224+
\pnum
1225+
A constructor shall not have an explicit object parameter\iref{dcl.fct}.
1226+
12241227
\rSec3[class.default.ctor]{Default constructors}
12251228

12261229
\pnum

0 commit comments

Comments
 (0)