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 6037
6037
or base class of the object before the constructor begins execution results in
6038
6038
undefined behavior\ubdef {class.cdtor.before.ctor.after.dtor}. For an object with a non-trivial destructor, referring to
6039
6039
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.
6041
6041
\begin {example }
6042
6042
\begin {codeblock }
6043
6043
struct X { int i; };
6122
6122
indirectly derive from
6123
6123
\tcode {B}
6124
6124
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.
6126
6126
To form a pointer to (or access the value of) a direct non-static member of
6127
6127
an object
6128
6128
\tcode {obj},
You can’t perform that action at this time.
0 commit comments