Skip to content

Commit da436f8

Browse files
[defns.dynamic.type] Say "most derived object" in the example (#6203)
1 parent 32ec75e commit da436f8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source/intro.tex

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,9 @@
243243
glvalue refers
244244

245245
\begin{example}
246-
If a pointer\iref{dcl.ptr} \tcode{p} whose static type is ``pointer to
247-
class \tcode{B}'' is pointing to an object of class \tcode{D}, derived
246+
If a pointer\iref{dcl.ptr} \tcode{p} whose type is ``pointer to
247+
class \tcode{B}'' is pointing to a base class subobject
248+
of class \tcode{B}, whose most derived object is of class \tcode{D}, derived
248249
from \tcode{B}\iref{class.derived}, the dynamic type of the
249250
expression \tcode{*p} is ``\tcode{D}''. References\iref{dcl.ref} are
250251
treated similarly.

0 commit comments

Comments
 (0)