tmp/tmp8i_4r1_v/{from.md → to.md}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
-
#####
|
| 2 |
|
| 3 |
Generic format observer functions return strings formatted according to
|
| 4 |
-
the generic pathname format
|
| 5 |
-
|
| 6 |
|
| 7 |
[*Example 1*:
|
| 8 |
|
| 9 |
On an operating system that uses backslash as its *preferred-separator*,
|
| 10 |
|
|
@@ -30,15 +30,14 @@ be performed by `a`. Conversion, if any, is specified by
|
|
| 30 |
[[fs.path.cvt]].
|
| 31 |
|
| 32 |
``` cpp
|
| 33 |
std::string generic_string() const;
|
| 34 |
std::wstring generic_wstring() const;
|
| 35 |
-
std::
|
| 36 |
std::u16string generic_u16string() const;
|
| 37 |
std::u32string generic_u32string() const;
|
| 38 |
```
|
| 39 |
|
| 40 |
*Returns:* The pathname in the generic format.
|
| 41 |
|
| 42 |
-
*Remarks:* Conversion, if any, is specified by [[fs.path.cvt]].
|
| 43 |
-
encoding of the string returned by `generic_u8string()` is always UTF-8.
|
| 44 |
|
|
|
|
| 1 |
+
##### Generic format observers <a id="fs.path.generic.obs">[[fs.path.generic.obs]]</a>
|
| 2 |
|
| 3 |
Generic format observer functions return strings formatted according to
|
| 4 |
+
the generic pathname format [[fs.path.generic]]. A single slash (`'/'`)
|
| 5 |
+
character is used as the *directory-separator*.
|
| 6 |
|
| 7 |
[*Example 1*:
|
| 8 |
|
| 9 |
On an operating system that uses backslash as its *preferred-separator*,
|
| 10 |
|
|
|
|
| 30 |
[[fs.path.cvt]].
|
| 31 |
|
| 32 |
``` cpp
|
| 33 |
std::string generic_string() const;
|
| 34 |
std::wstring generic_wstring() const;
|
| 35 |
+
std::u8string generic_u8string() const;
|
| 36 |
std::u16string generic_u16string() const;
|
| 37 |
std::u32string generic_u32string() const;
|
| 38 |
```
|
| 39 |
|
| 40 |
*Returns:* The pathname in the generic format.
|
| 41 |
|
| 42 |
+
*Remarks:* Conversion, if any, is specified by [[fs.path.cvt]].
|
|
|
|
| 43 |
|