tmp/tmpwyau5oqn/{from.md → to.md}
RENAMED
|
@@ -1,15 +1,14 @@
|
|
| 1 |
-
####
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
-
explicit directory_entry(const path& p);
|
| 5 |
-
directory_entry(const path& p, error_code& ec);
|
| 6 |
```
|
| 7 |
|
| 8 |
-
*Effects:*
|
| 9 |
-
`refresh()` or `refresh(ec)`, respectively.
|
| 10 |
|
| 11 |
-
*
|
| 12 |
-
`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 |
|