tmp/tmp_i1od0t1/{from.md → to.md}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
| 1 |
-
#####
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
-
bool empty() const noexcept;
|
| 5 |
```
|
| 6 |
|
| 7 |
-
*Returns:* `true` if the pathname in the generic format is empty,
|
| 8 |
-
`false`.
|
| 9 |
|
| 10 |
``` cpp
|
| 11 |
bool has_root_path() const;
|
| 12 |
```
|
| 13 |
|
|
@@ -58,11 +58,11 @@ bool has_extension() const;
|
|
| 58 |
``` cpp
|
| 59 |
bool is_absolute() const;
|
| 60 |
```
|
| 61 |
|
| 62 |
*Returns:* `true` if the pathname in the native format contains an
|
| 63 |
-
absolute path
|
| 64 |
|
| 65 |
[*Example 9*: `path("/").is_absolute()` is `true` for POSIX-based
|
| 66 |
operating systems, and `false` for Windows-based operating
|
| 67 |
systems. — *end example*]
|
| 68 |
|
|
|
|
| 1 |
+
##### Query <a id="fs.path.query">[[fs.path.query]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
+
[[nodiscard]] bool empty() const noexcept;
|
| 5 |
```
|
| 6 |
|
| 7 |
+
*Returns:* `true` if the pathname in the generic format is empty,
|
| 8 |
+
otherwise `false`.
|
| 9 |
|
| 10 |
``` cpp
|
| 11 |
bool has_root_path() const;
|
| 12 |
```
|
| 13 |
|
|
|
|
| 58 |
``` cpp
|
| 59 |
bool is_absolute() const;
|
| 60 |
```
|
| 61 |
|
| 62 |
*Returns:* `true` if the pathname in the native format contains an
|
| 63 |
+
absolute path [[fs.class.path]], otherwise `false`.
|
| 64 |
|
| 65 |
[*Example 9*: `path("/").is_absolute()` is `true` for POSIX-based
|
| 66 |
operating systems, and `false` for Windows-based operating
|
| 67 |
systems. — *end example*]
|
| 68 |
|