tmp/tmp1b47faso/{from.md → to.md}
RENAMED
|
@@ -1,9 +1,10 @@
|
|
| 1 |
#### 19 dynamic type <a id="defns.dynamic.type">[[defns.dynamic.type]]</a>
|
| 2 |
|
| 3 |
⟨glvalue⟩ type of the most derived object to which the glvalue refers
|
| 4 |
|
| 5 |
-
[*Example 1*: If a pointer [[dcl.ptr]] `p` whose
|
| 6 |
-
|
| 7 |
-
from `B` [[class.derived]],
|
| 8 |
-
“`D`”. References [[dcl.ref]]
|
|
|
|
| 9 |
|
|
|
|
| 1 |
#### 19 dynamic type <a id="defns.dynamic.type">[[defns.dynamic.type]]</a>
|
| 2 |
|
| 3 |
⟨glvalue⟩ type of the most derived object to which the glvalue refers
|
| 4 |
|
| 5 |
+
[*Example 1*: If a pointer [[dcl.ptr]] `p` whose type is “pointer to
|
| 6 |
+
class `B`” is pointing to a base class subobject of class `B`, whose
|
| 7 |
+
most derived object is of class `D`, derived from `B` [[class.derived]],
|
| 8 |
+
the dynamic type of the expression `*p` is “`D`”. References [[dcl.ref]]
|
| 9 |
+
are treated similarly. — *end example*]
|
| 10 |
|