tmp/tmpihd6cdgs/{from.md → to.md}
RENAMED
|
@@ -3,11 +3,13 @@
|
|
| 3 |
``` cpp
|
| 4 |
~unique_ptr();
|
| 5 |
```
|
| 6 |
|
| 7 |
*Requires:* The expression `get_deleter()(get())` shall be well formed,
|
| 8 |
-
shall have well-defined behavior, and shall not throw exceptions.
|
| 9 |
-
|
|
|
|
|
|
|
| 10 |
|
| 11 |
*Effects:* If `get() == nullptr` there are no effects. Otherwise
|
| 12 |
`get_deleter()(get())`.
|
| 13 |
|
|
|
|
| 3 |
``` cpp
|
| 4 |
~unique_ptr();
|
| 5 |
```
|
| 6 |
|
| 7 |
*Requires:* The expression `get_deleter()(get())` shall be well formed,
|
| 8 |
+
shall have well-defined behavior, and shall not throw exceptions.
|
| 9 |
+
|
| 10 |
+
[*Note 3*: The use of `default_delete` requires `T` to be a complete
|
| 11 |
+
type. — *end note*]
|
| 12 |
|
| 13 |
*Effects:* If `get() == nullptr` there are no effects. Otherwise
|
| 14 |
`get_deleter()(get())`.
|
| 15 |
|