tmp/tmph5o4r_94/{from.md → to.md}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
| 1 |
#### Exists <a id="fs.op.exists">[[fs.op.exists]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
-
bool exists(file_status s) noexcept;
|
| 5 |
```
|
| 6 |
|
| 7 |
*Returns:* `status_known(s) && s.type() != file_type::not_found`.
|
| 8 |
|
| 9 |
``` cpp
|
| 10 |
-
bool exists(const path& p);
|
| 11 |
-
bool exists(const path& p, error_code& ec) noexcept;
|
| 12 |
```
|
| 13 |
|
| 14 |
Let `s` be a `file_status`, determined as if by `status(p)` or
|
| 15 |
`status(p, ec)`, respectively.
|
| 16 |
|
|
|
|
| 1 |
#### Exists <a id="fs.op.exists">[[fs.op.exists]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
+
bool filesystem::exists(file_status s) noexcept;
|
| 5 |
```
|
| 6 |
|
| 7 |
*Returns:* `status_known(s) && s.type() != file_type::not_found`.
|
| 8 |
|
| 9 |
``` cpp
|
| 10 |
+
bool filesystem::exists(const path& p);
|
| 11 |
+
bool filesystem::exists(const path& p, error_code& ec) noexcept;
|
| 12 |
```
|
| 13 |
|
| 14 |
Let `s` be a `file_status`, determined as if by `status(p)` or
|
| 15 |
`status(p, ec)`, respectively.
|
| 16 |
|