Skip to content

Commit 3ddfa94

Browse files
[defns.dynamic.type] Say "most derived object" in the example
1 parent f24d86d commit 3ddfa94

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
@@ -278,8 +278,9 @@
278278
glvalue refers
279279

280280
\begin{example}
281-
If a pointer\iref{dcl.ptr} \tcode{p} whose static type is ``pointer to
282-
class \tcode{B}'' is pointing to an object of class \tcode{D}, derived
281+
If a pointer\iref{dcl.ptr} \tcode{p} whose type is ``pointer to
282+
class \tcode{B}'' is pointing to a base class subobject class object
283+
of class \tcode{B}, whose most derived object is of class \tcode{D}, derived
283284
from \tcode{B}\iref{class.derived}, the dynamic type of the
284285
expression \tcode{*p} is ``\tcode{D}''. References\iref{dcl.ref} are
285286
treated similarly.

0 commit comments

Comments
 (0)