From Jason Turner

[ofstream.assign]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpr84t1a02/{from.md → to.md} +2 -11
tmp/tmpr84t1a02/{from.md → to.md} RENAMED
@@ -1,15 +1,6 @@
1
- #### Assign and swap <a id="ofstream.assign">[[ofstream.assign]]</a>
2
-
3
- ``` cpp
4
- basic_ofstream& operator=(basic_ofstream&& rhs);
5
- ```
6
-
7
- *Effects:* Move assigns the base and members of `*this` from the base
8
- and corresponding members of `rhs`.
9
-
10
- *Returns:* `*this`.
11
 
12
  ``` cpp
13
  void swap(basic_ofstream& rhs);
14
  ```
15
 
@@ -20,7 +11,7 @@ void swap(basic_ofstream& rhs);
20
  template<class charT, class traits>
21
  void swap(basic_ofstream<charT, traits>& x,
22
  basic_ofstream<charT, traits>& y);
23
  ```
24
 
25
- *Effects:* As if by `x.swap(y)`.
26
 
 
1
+ #### Assignment and swap <a id="ofstream.assign">[[ofstream.assign]]</a>
 
 
 
 
 
 
 
 
 
2
 
3
  ``` cpp
4
  void swap(basic_ofstream& rhs);
5
  ```
6
 
 
11
  template<class charT, class traits>
12
  void swap(basic_ofstream<charT, traits>& x,
13
  basic_ofstream<charT, traits>& y);
14
  ```
15
 
16
+ *Effects:* Equivalent to: `x.swap(y)`.
17