From Jason Turner

[fstream.swap]

Diff to HTML by rtfpessoa

tmp/tmpsukih_lm/{from.md → to.md} RENAMED
@@ -3,15 +3,16 @@
3
  ``` cpp
4
  void swap(basic_fstream& rhs);
5
  ```
6
 
7
  *Effects:* Exchanges the state of `*this` and `rhs` by calling
8
- `basic_iostream<charT,traits>::swap(rhs)` and `sb.swap(rhs.sb)`.
 
9
 
10
  ``` cpp
11
  template<class charT, class traits>
12
  void swap(basic_fstream<charT, traits>& x,
13
  basic_fstream<charT, traits>& y);
14
  ```
15
 
16
- *Effects:* Equivalent to: `x.swap(y)`.
17
 
 
3
  ``` cpp
4
  void swap(basic_fstream& rhs);
5
  ```
6
 
7
  *Effects:* Exchanges the state of `*this` and `rhs` by calling
8
+ `basic_iostream<charT,traits>::swap(rhs)` and
9
+ *`sb`*`.swap(rhs.`*`sb`*`)`.
10
 
11
  ``` cpp
12
  template<class charT, class traits>
13
  void swap(basic_fstream<charT, traits>& x,
14
  basic_fstream<charT, traits>& y);
15
  ```
16
 
17
+ *Effects:* Equivalent to `x.swap(y)`.
18