File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -739,12 +739,12 @@ <h4><a href="#data-member-pointers"> 2.3.1 Data Member Pointers </a></h4>
739739
740740< p >
741741It is relatively difficult to demonstrate this defect in well-defined
742- code. It is possible to convert a member pointer to a member pointer in
743- a derived class and then cast it back it to a different base class; if the
744- second base class is stored after the first, the resulting offset will be
745- negative. However, this cast has undefined behavior because the member is
746- no longer a member of a base or derived class of the member pointer's
747- class. To demonstrate the defect, either an empty base class or an empty
742+ code. It is possible to convert a member pointer to a derived class
743+ and then cast it back it to a different base class; if the second base
744+ class is stored after the first, the resulting offset will be negative.
745+ However, this cast has undefined behavior because the member is no
746+ longer a member of a base or derived class of the member pointer's class.
747+ To demonstrate the defect, either an empty base class or an empty
748748data member must be involved. For example:
749749
750750< pre >
You can’t perform that action at this time.
0 commit comments