Skip to content

Commit 6e12efa

Browse files
committed
[class.cdtor] Remove duplicate UB labels
1 parent 2ed9326 commit 6e12efa

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
@@ -6037,7 +6037,7 @@
60376037
or base class of the object before the constructor begins execution results in
60386038
undefined behavior\ubdef{class.cdtor.before.ctor.after.dtor}. For an object with a non-trivial destructor, referring to
60396039
any non-static member or base class of the object after the destructor finishes
6040-
execution results in undefined behavior\ubdef{class.cdtor.before.ctor.after.dtor}.
6040+
execution results in undefined behavior.
60416041
\begin{example}
60426042
\begin{codeblock}
60436043
struct X { int i; };
@@ -6122,7 +6122,7 @@
61226122
indirectly derive from
61236123
\tcode{B}
61246124
shall have started and the destruction of these classes shall not have
6125-
completed, otherwise the conversion results in undefined behavior\ubdef{class.cdtor.convert.or.form.pointer}.
6125+
completed, otherwise the conversion results in undefined behavior.
61266126
To form a pointer to (or access the value of) a direct non-static member of
61276127
an object
61286128
\tcode{obj},

0 commit comments

Comments
 (0)