Skip to content

Commit 73699cf

Browse files
languagelawyertkoeppe
authored andcommitted
[class.cdtor] Only objects of scalar type can be accessed
1 parent f9847af commit 73699cf

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

source/classes.tex

+4-3
Original file line numberDiff line numberDiff line change
@@ -6072,11 +6072,12 @@
60726072

60736073
\pnum
60746074
During the construction of an object,
6075-
if the value of the object or any of its subobjects is
6076-
accessed through a glvalue that is not obtained, directly or indirectly, from
6075+
if the value of any of its subobjects
6076+
or any element of its object representation
6077+
is accessed through a glvalue that is not obtained, directly or indirectly, from
60776078
the constructor's
60786079
\keyword{this}
6079-
pointer, the value of the object or subobject thus obtained is unspecified.
6080+
pointer, the value thus obtained is unspecified.
60806081
\begin{example}
60816082
\begin{codeblock}
60826083
struct C;

0 commit comments

Comments
 (0)