From Jason Turner

[stringstream.swap]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpbfu0yw3c/{from.md → to.md} +21 -0
tmp/tmpbfu0yw3c/{from.md → to.md} RENAMED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #### Swap <a id="stringstream.swap">[[stringstream.swap]]</a>
2
+
3
+ ``` cpp
4
+ void swap(basic_stringstream& rhs);
5
+ ```
6
+
7
+ *Effects:* Equivalent to:
8
+
9
+ ``` cpp
10
+ basic_iostream<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_stringstream<charT, traits, Allocator>& x,
17
+ basic_stringstream<charT, traits, Allocator>& y);
18
+ ```
19
+
20
+ *Effects:* Equivalent to: `x.swap(y)`.
21
+