Skip to content

Commit 8bc56e3

Browse files
Dawn Perchikzygoloid
authored andcommitted
CWG2394 Const-default-constructible for members
1 parent a7a531a commit 8bc56e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/classes.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1342,7 +1342,8 @@
13421342
of reference type,
13431343

13441344
\item any non-variant non-static data member of const-qualified type (or array
1345-
thereof) with no \grammarterm{brace-or-equal-initializer} does not have a user-provided default constructor,
1345+
thereof) with no \grammarterm{brace-or-equal-initializer}
1346+
is not const-default-constructible\iref{dcl.init}.
13461347

13471348
\item \tcode{X} is a union and all of its variant members are of const-qualified
13481349
type (or array thereof),

0 commit comments

Comments
 (0)