From Jason Turner

[fs.dir.itr.members]

Diff to HTML by rtfpessoa

tmp/tmpm3kknxwu/{from.md → to.md} RENAMED
@@ -1,18 +1,18 @@
1
- #### `directory_iterator` members <a id="fs.dir.itr.members">[[fs.dir.itr.members]]</a>
2
 
3
  ``` cpp
4
  directory_iterator() noexcept;
5
  ```
6
 
7
  *Effects:* Constructs the end iterator.
8
 
9
  ``` cpp
10
  explicit directory_iterator(const path& p);
11
  directory_iterator(const path& p, directory_options options);
12
- directory_iterator(const path& p, error_code& ec) noexcept;
13
- directory_iterator(const path& p, directory_options options, error_code& ec) noexcept;
14
  ```
15
 
16
  *Effects:* For the directory that `p` resolves to, constructs an
17
  iterator for the first element in a sequence of `directory_entry`
18
  elements representing the files in the directory, if any; otherwise the
@@ -35,33 +35,31 @@ error.
35
  ``` cpp
36
  directory_iterator(const directory_iterator& rhs);
37
  directory_iterator(directory_iterator&& rhs) noexcept;
38
  ```
39
 
40
- *Effects:* Constructs an object of class `directory_iterator`.
41
-
42
- *Postconditions:* `*this` has the original value of `rhs`.
43
 
44
  ``` cpp
45
  directory_iterator& operator=(const directory_iterator& rhs);
46
  directory_iterator& operator=(directory_iterator&& rhs) noexcept;
47
  ```
48
 
49
  *Effects:* If `*this` and `rhs` are the same object, the member has no
50
  effect.
51
 
52
- *Postconditions:* `*this` has the original value of `rhs`.
53
 
54
  *Returns:* `*this`.
55
 
56
  ``` cpp
57
  directory_iterator& operator++();
58
- directory_iterator& increment(error_code& ec) noexcept;
59
  ```
60
 
61
  *Effects:* As specified for the prefix increment operation of Input
62
- iterators ([[input.iterators]]).
63
 
64
  *Returns:* `*this`.
65
 
66
  *Throws:* As specified in  [[fs.err.report]].
67
 
 
1
+ #### Members <a id="fs.dir.itr.members">[[fs.dir.itr.members]]</a>
2
 
3
  ``` cpp
4
  directory_iterator() noexcept;
5
  ```
6
 
7
  *Effects:* Constructs the end iterator.
8
 
9
  ``` cpp
10
  explicit directory_iterator(const path& p);
11
  directory_iterator(const path& p, directory_options options);
12
+ directory_iterator(const path& p, error_code& ec);
13
+ directory_iterator(const path& p, directory_options options, error_code& ec);
14
  ```
15
 
16
  *Effects:* For the directory that `p` resolves to, constructs an
17
  iterator for the first element in a sequence of `directory_entry`
18
  elements representing the files in the directory, if any; otherwise the
 
35
  ``` cpp
36
  directory_iterator(const directory_iterator& rhs);
37
  directory_iterator(directory_iterator&& rhs) noexcept;
38
  ```
39
 
40
+ *Ensures:* `*this` has the original value of `rhs`.
 
 
41
 
42
  ``` cpp
43
  directory_iterator& operator=(const directory_iterator& rhs);
44
  directory_iterator& operator=(directory_iterator&& rhs) noexcept;
45
  ```
46
 
47
  *Effects:* If `*this` and `rhs` are the same object, the member has no
48
  effect.
49
 
50
+ *Ensures:* `*this` has the original value of `rhs`.
51
 
52
  *Returns:* `*this`.
53
 
54
  ``` cpp
55
  directory_iterator& operator++();
56
+ directory_iterator& increment(error_code& ec);
57
  ```
58
 
59
  *Effects:* As specified for the prefix increment operation of Input
60
+ iterators [[input.iterators]].
61
 
62
  *Returns:* `*this`.
63
 
64
  *Throws:* As specified in  [[fs.err.report]].
65