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 60376037or base class of the object before the constructor begins execution results in
60386038undefined behavior\ubdef {class.cdtor.before.ctor.after.dtor}. For an object with a non-trivial destructor, referring to
60396039any 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 }
60436043struct X { int i; };
61226122indirectly derive from
61236123\tcode {B}
61246124shall 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.
61266126To form a pointer to (or access the value of) a direct non-static member of
61276127an object
61286128\tcode {obj},
You can’t perform that action at this time.
0 commit comments