tmp/tmpo6xi3fqk/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|