tmp/tmp3lf95mli/{from.md → to.md}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
##### specialized algorithms <a id="func.wrap.func.alg">[[func.wrap.func.alg]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template<class R, class... ArgTypes>
|
| 5 |
-
void swap(function<R(ArgTypes...)>& f1, function<R(ArgTypes...)>& f2);
|
| 6 |
```
|
| 7 |
|
| 8 |
-
*Effects:* `f1.swap(f2);`
|
| 9 |
|
|
|
|
| 1 |
##### specialized algorithms <a id="func.wrap.func.alg">[[func.wrap.func.alg]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template<class R, class... ArgTypes>
|
| 5 |
+
void swap(function<R(ArgTypes...)>& f1, function<R(ArgTypes...)>& f2) noexcept;
|
| 6 |
```
|
| 7 |
|
| 8 |
+
*Effects:* As if by: `f1.swap(f2);`
|
| 9 |
|