tmp/tmpnucp_lph/{from.md → to.md}
RENAMED
|
@@ -33,10 +33,10 @@ virtual bool do_is_equal(const memory_resource& other) const noexcept = 0;
|
|
| 33 |
|
| 34 |
*Returns:* A derived class shall implement this function to return
|
| 35 |
`true` if memory allocated from `this` can be deallocated from `other`
|
| 36 |
and vice-versa, otherwise `false`.
|
| 37 |
|
| 38 |
-
[*Note 1*:
|
| 39 |
-
`this`. For a derived class `D`, an implementation
|
| 40 |
-
|
| 41 |
`dynamic_cast<const D*>(&other) == nullptr`. — *end note*]
|
| 42 |
|
|
|
|
| 33 |
|
| 34 |
*Returns:* A derived class shall implement this function to return
|
| 35 |
`true` if memory allocated from `this` can be deallocated from `other`
|
| 36 |
and vice-versa, otherwise `false`.
|
| 37 |
|
| 38 |
+
[*Note 1*: It is possible that the most-derived type of `other` does
|
| 39 |
+
not match the type of `this`. For a derived class `D`, an implementation
|
| 40 |
+
of this function can immediately return `false` if
|
| 41 |
`dynamic_cast<const D*>(&other) == nullptr`. — *end note*]
|
| 42 |
|