tmp/tmpfurminul/{from.md → to.md}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
#### Absolute <a id="fs.op.absolute">[[fs.op.absolute]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
-
path absolute(const path& p);
|
| 5 |
-
path absolute(const path& p, error_code& ec);
|
| 6 |
```
|
| 7 |
|
| 8 |
*Effects:* Composes an absolute path referencing the same file system
|
| 9 |
location as `p` according to the operating system [[fs.conform.os]].
|
| 10 |
|
|
@@ -14,12 +14,12 @@ location as `p` according to the operating system [[fs.conform.os]].
|
|
| 14 |
[*Note 1*: For the returned path, `rp`, `rp.is_absolute()` is `true`
|
| 15 |
unless an error occurs. — *end note*]
|
| 16 |
|
| 17 |
*Throws:* As specified in [[fs.err.report]].
|
| 18 |
|
| 19 |
-
[*Note 2*: To resolve symlinks
|
| 20 |
-
|
| 21 |
`canonical` [[fs.op.canonical]]. — *end note*]
|
| 22 |
|
| 23 |
[*Note 3*: Implementations are strongly encouraged to not query
|
| 24 |
secondary storage, and not consider `!exists(p)` an
|
| 25 |
error. — *end note*]
|
|
|
|
| 1 |
#### Absolute <a id="fs.op.absolute">[[fs.op.absolute]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
+
path filesystem::absolute(const path& p);
|
| 5 |
+
path filesystem::absolute(const path& p, error_code& ec);
|
| 6 |
```
|
| 7 |
|
| 8 |
*Effects:* Composes an absolute path referencing the same file system
|
| 9 |
location as `p` according to the operating system [[fs.conform.os]].
|
| 10 |
|
|
|
|
| 14 |
[*Note 1*: For the returned path, `rp`, `rp.is_absolute()` is `true`
|
| 15 |
unless an error occurs. — *end note*]
|
| 16 |
|
| 17 |
*Throws:* As specified in [[fs.err.report]].
|
| 18 |
|
| 19 |
+
[*Note 2*: To resolve symlinks or perform other sanitization that can
|
| 20 |
+
involve queries to secondary storage, such as hard disks, consider
|
| 21 |
`canonical` [[fs.op.canonical]]. — *end note*]
|
| 22 |
|
| 23 |
[*Note 3*: Implementations are strongly encouraged to not query
|
| 24 |
secondary storage, and not consider `!exists(p)` an
|
| 25 |
error. — *end note*]
|