From Jason Turner

[ifstream.swap]

Diff to HTML by rtfpessoa

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