Skip to content

Commit 586fbbe

Browse files
[class.cdtor] Only objects of scalar type can be accessed
1 parent 1ecf1e8 commit 586fbbe

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
@@ -5842,11 +5842,11 @@
58425842

58435843
\pnum
58445844
During the construction of an object,
5845-
if the value of the object or any of its subobjects is
5845+
if the value of any of its subobjects is
58465846
accessed through a glvalue that is not obtained, directly or indirectly, from
58475847
the constructor's
58485848
\tcode{this}
5849-
pointer, the value of the object or subobject thus obtained is unspecified.
5849+
pointer, the value of the subobject thus obtained is unspecified.
58505850
\begin{example}
58515851
\begin{codeblock}
58525852
struct C;

0 commit comments

Comments
 (0)