tmp/tmp55t1wvxq/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### Swap <a id="ostringstream.swap">[[ostringstream.swap]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
void swap(basic_ostringstream& rhs);
|
| 5 |
+
```
|
| 6 |
+
|
| 7 |
+
*Effects:* Equivalent to:
|
| 8 |
+
|
| 9 |
+
``` cpp
|
| 10 |
+
basic_ostream<charT, traits>::swap(rhs);
|
| 11 |
+
sb.swap(rhs.sb);
|
| 12 |
+
```
|
| 13 |
+
|
| 14 |
+
``` cpp
|
| 15 |
+
template<class charT, class traits, class Allocator>
|
| 16 |
+
void swap(basic_ostringstream<charT, traits, Allocator>& x,
|
| 17 |
+
basic_ostringstream<charT, traits, Allocator>& y);
|
| 18 |
+
```
|
| 19 |
+
|
| 20 |
+
*Effects:* Equivalent to: `x.swap(y)`.
|
| 21 |
+
|