tmp/tmpkx8wsk3u/{from.md → to.md}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
-
#####
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
void reset(nullptr_t p = nullptr) noexcept;
|
| 5 |
```
|
| 6 |
|
|
@@ -9,12 +9,13 @@ void reset(nullptr_t p = nullptr) noexcept;
|
|
| 9 |
``` cpp
|
| 10 |
template<class U> void reset(U p) noexcept;
|
| 11 |
```
|
| 12 |
|
| 13 |
This function behaves the same as the `reset` member of the primary
|
| 14 |
-
template
|
| 15 |
-
|
|
|
|
| 16 |
|
| 17 |
- `U` is the same type as `pointer`, or
|
| 18 |
- `pointer` is the same type as `element_type*`, `U` is a pointer type
|
| 19 |
`V*`, and `V(*)[]` is convertible to `element_type(*)[]`.
|
| 20 |
|
|
|
|
| 1 |
+
##### Modifiers <a id="unique.ptr.runtime.modifiers">[[unique.ptr.runtime.modifiers]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
void reset(nullptr_t p = nullptr) noexcept;
|
| 5 |
```
|
| 6 |
|
|
|
|
| 9 |
``` cpp
|
| 10 |
template<class U> void reset(U p) noexcept;
|
| 11 |
```
|
| 12 |
|
| 13 |
This function behaves the same as the `reset` member of the primary
|
| 14 |
+
template.
|
| 15 |
+
|
| 16 |
+
*Constraints:*
|
| 17 |
|
| 18 |
- `U` is the same type as `pointer`, or
|
| 19 |
- `pointer` is the same type as `element_type*`, `U` is a pointer type
|
| 20 |
`V*`, and `V(*)[]` is convertible to `element_type(*)[]`.
|
| 21 |
|