Skip to content

Commit d128c63

Browse files
[class.cdtor] Only objects of scalar type can be accessed
1 parent f3ab334 commit d128c63

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

source/classes.tex

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5850,11 +5850,12 @@
58505850

58515851
\pnum
58525852
During the construction of an object,
5853-
if the value of the object or any of its subobjects is
5854-
accessed through a glvalue that is not obtained, directly or indirectly, from
5853+
if the value of any of its subobjects
5854+
or any element of its object representation
5855+
is accessed through a glvalue that is not obtained, directly or indirectly, from
58555856
the constructor's
5856-
\keyword{this}
5857-
pointer, the value of the object or subobject thus obtained is unspecified.
5857+
\tcode{this}
5858+
pointer, the value thus obtained is unspecified.
58585859
\begin{example}
58595860
\begin{codeblock}
58605861
struct C;

0 commit comments

Comments
 (0)