Skip to content

Commit b2784ee

Browse files
committed
[class.cdtor] Remove duplicate UB labels
1 parent 51fa9ff commit b2784ee

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
@@ -6105,7 +6105,7 @@
61056105
or base class of the object before the constructor begins execution results in
61066106
undefined behavior\ubdef{class.cdtor.before.ctor.after.dtor}. For an object with a non-trivial destructor, referring to
61076107
any non-static member or base class of the object after the destructor finishes
6108-
execution results in undefined behavior\ubdef{class.cdtor.before.ctor.after.dtor}.
6108+
execution results in undefined behavior.
61096109
\begin{example}
61106110
\begin{codeblock}
61116111
struct X { int i; };
@@ -6190,7 +6190,7 @@
61906190
indirectly derive from
61916191
\tcode{B}
61926192
shall have started and the destruction of these classes shall not have
6193-
completed, otherwise the conversion results in undefined behavior\ubdef{class.cdtor.convert.or.form.pointer}.
6193+
completed, otherwise the conversion results in undefined behavior.
61946194
To form a pointer to (or access the value of) a direct non-static member of
61956195
an object
61966196
\tcode{obj},

0 commit comments

Comments
 (0)