tmp/tmp5fxyyoxh/{from.md → to.md}
RENAMED
|
@@ -30,13 +30,13 @@ allocated storage.
|
|
| 30 |
``` cpp
|
| 31 |
virtual bool do_is_equal(const memory_resource& other) const noexcept = 0;
|
| 32 |
```
|
| 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
|
| 40 |
-
of this function can immediately return `false` if
|
| 41 |
`dynamic_cast<const D*>(&other) == nullptr`. — *end note*]
|
| 42 |
|
|
|
|
| 30 |
``` cpp
|
| 31 |
virtual bool do_is_equal(const memory_resource& other) const noexcept = 0;
|
| 32 |
```
|
| 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
|
| 40 |
+
implementation of this function can immediately return `false` if
|
| 41 |
`dynamic_cast<const D*>(&other) == nullptr`. — *end note*]
|
| 42 |
|