tmp/tmpagbq91uu/{from.md → to.md}
RENAMED
|
@@ -1,11 +1,13 @@
|
|
| 1 |
#### Restrictions on storage of pointers <a id="res.on.pointer.storage">[[res.on.pointer.storage]]</a>
|
| 2 |
|
| 3 |
Objects constructed by the standard library that may hold a
|
| 4 |
user-supplied pointer value or an integer of type `std::intptr_t` shall
|
| 5 |
store such values in a traceable pointer location (
|
| 6 |
-
[[basic.stc.dynamic.safety]]).
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
|
|
|
|
|
|
| 11 |
|
|
|
|
| 1 |
#### Restrictions on storage of pointers <a id="res.on.pointer.storage">[[res.on.pointer.storage]]</a>
|
| 2 |
|
| 3 |
Objects constructed by the standard library that may hold a
|
| 4 |
user-supplied pointer value or an integer of type `std::intptr_t` shall
|
| 5 |
store such values in a traceable pointer location (
|
| 6 |
+
[[basic.stc.dynamic.safety]]).
|
| 7 |
+
|
| 8 |
+
[*Note 1*: Other libraries are strongly encouraged to do the same,
|
| 9 |
+
since not doing so may result in accidental use of pointers that are not
|
| 10 |
+
safely derived. Libraries that store pointers outside the user’s address
|
| 11 |
+
space should make it appear that they are stored and retrieved from a
|
| 12 |
+
traceable pointer location. — *end note*]
|
| 13 |
|