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