From Jason Turner

[fs.dir.entry.cons]

Diff to HTML by rtfpessoa

tmp/tmpwyau5oqn/{from.md → to.md} RENAMED
@@ -1,15 +1,14 @@
1
- #### `directory_entry` constructors <a id="fs.dir.entry.cons">[[fs.dir.entry.cons]]</a>
2
 
3
  ``` cpp
4
- explicit directory_entry(const path& p);
5
- directory_entry(const path& p, error_code& ec);
6
  ```
7
 
8
- *Effects:* Constructs an object of type `directory_entry`, then
9
- `refresh()` or `refresh(ec)`, respectively.
10
 
11
- *Postconditions:* `path() == p` if no error occurs, otherwise
12
- `path() == std::filesystem::path()`.
13
 
14
  *Throws:* As specified in  [[fs.err.report]].
15
 
 
1
+ #### Constructors <a id="fs.dir.entry.cons">[[fs.dir.entry.cons]]</a>
2
 
3
  ``` cpp
4
+ explicit directory_entry(const filesystem::path& p);
5
+ directory_entry(const filesystem::path& p, error_code& ec);
6
  ```
7
 
8
+ *Effects:* Calls `refresh()` or `refresh(ec)`, respectively.
 
9
 
10
+ *Ensures:* `path() == p` if no error occurs, otherwise
11
+ `path() == filesystem::path()`.
12
 
13
  *Throws:* As specified in  [[fs.err.report]].
14