File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 6105
6105
or base class of the object before the constructor begins execution results in
6106
6106
undefined behavior\ubdef {class.cdtor.before.ctor.after.dtor}. For an object with a non-trivial destructor, referring to
6107
6107
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.
6109
6109
\begin {example }
6110
6110
\begin {codeblock }
6111
6111
struct X { int i; };
6190
6190
indirectly derive from
6191
6191
\tcode {B}
6192
6192
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.
6194
6194
To form a pointer to (or access the value of) a direct non-static member of
6195
6195
an object
6196
6196
\tcode {obj},
You can’t perform that action at this time.
0 commit comments