tmp/tmpmvm5cj81/{from.md → to.md}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
| 1 |
##### Modifiers <a id="util.smartptr.weak.mod">[[util.smartptr.weak.mod]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
-
void swap(weak_ptr& r) noexcept;
|
| 5 |
```
|
| 6 |
|
| 7 |
*Effects:* Exchanges the contents of `*this` and `r`.
|
| 8 |
|
| 9 |
``` cpp
|
| 10 |
-
void reset() noexcept;
|
| 11 |
```
|
| 12 |
|
| 13 |
*Effects:* Equivalent to `weak_ptr().swap(*this)`.
|
| 14 |
|
|
|
|
| 1 |
##### Modifiers <a id="util.smartptr.weak.mod">[[util.smartptr.weak.mod]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
+
constexpr void swap(weak_ptr& r) noexcept;
|
| 5 |
```
|
| 6 |
|
| 7 |
*Effects:* Exchanges the contents of `*this` and `r`.
|
| 8 |
|
| 9 |
``` cpp
|
| 10 |
+
constexpr void reset() noexcept;
|
| 11 |
```
|
| 12 |
|
| 13 |
*Effects:* Equivalent to `weak_ptr().swap(*this)`.
|
| 14 |
|