tmp/tmp9m0oodm1/{from.md → to.md}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
##### Specialized algorithms <a id="util.smartptr.weak.spec">[[util.smartptr.weak.spec]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template<class T>
|
| 5 |
-
void swap(weak_ptr<T>& a, weak_ptr<T>& b) noexcept;
|
| 6 |
```
|
| 7 |
|
| 8 |
*Effects:* Equivalent to `a.swap(b)`.
|
| 9 |
|
|
|
|
| 1 |
##### Specialized algorithms <a id="util.smartptr.weak.spec">[[util.smartptr.weak.spec]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template<class T>
|
| 5 |
+
constexpr void swap(weak_ptr<T>& a, weak_ptr<T>& b) noexcept;
|
| 6 |
```
|
| 7 |
|
| 8 |
*Effects:* Equivalent to `a.swap(b)`.
|
| 9 |
|