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