tmp/tmpoqfw1b5t/{from.md → to.md}
RENAMED
|
@@ -1,12 +1,8 @@
|
|
| 1 |
##### `unique_ptr` modifiers <a id="unique.ptr.runtime.modifiers">[[unique.ptr.runtime.modifiers]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
-
void reset(pointer p = pointer()) noexcept;
|
| 5 |
void reset(nullptr_t p) noexcept;
|
| 6 |
```
|
| 7 |
|
| 8 |
-
*Effects:*
|
| 9 |
-
`get_deleter()(get())`.
|
| 10 |
-
|
| 11 |
-
`get() == p`.
|
| 12 |
|
|
|
|
| 1 |
##### `unique_ptr` modifiers <a id="unique.ptr.runtime.modifiers">[[unique.ptr.runtime.modifiers]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
|
|
|
| 4 |
void reset(nullptr_t p) noexcept;
|
| 5 |
```
|
| 6 |
|
| 7 |
+
*Effects:* Equivalent to `reset(pointer())`.
|
|
|
|
|
|
|
|
|
|
| 8 |
|