tmp/tmpt5_h_tg9/{from.md → to.md}
RENAMED
|
@@ -5,16 +5,16 @@ path filesystem::weakly_canonical(const path& p);
|
|
| 5 |
path filesystem::weakly_canonical(const path& p, error_code& ec);
|
| 6 |
```
|
| 7 |
|
| 8 |
*Effects:* Using `status(p)` or `status(p, ec)`, respectively, to
|
| 9 |
determine existence, return a path composed by `operator/=` from the
|
| 10 |
-
result of calling `canonical
|
| 11 |
leading elements of `p` that exist, if any, followed by the elements of
|
| 12 |
-
`p` that do not exist, if any. For the first form, `canonical
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
|
| 17 |
*Ensures:* The returned path is in normal form [[fs.path.generic]].
|
| 18 |
|
| 19 |
*Returns:* `p` with symlinks resolved and the result
|
| 20 |
normalized [[fs.path.generic]].
|
|
|
|
| 5 |
path filesystem::weakly_canonical(const path& p, error_code& ec);
|
| 6 |
```
|
| 7 |
|
| 8 |
*Effects:* Using `status(p)` or `status(p, ec)`, respectively, to
|
| 9 |
determine existence, return a path composed by `operator/=` from the
|
| 10 |
+
result of calling `canonical` with a path argument composed of the
|
| 11 |
leading elements of `p` that exist, if any, followed by the elements of
|
| 12 |
+
`p` that do not exist, if any. For the first form, `canonical` is called
|
| 13 |
+
without an `error_code` argument. For the second form, `canonical` is
|
| 14 |
+
called with `ec` as an `error_code` argument, and `path()` is returned
|
| 15 |
+
at the first error occurrence, if any.
|
| 16 |
|
| 17 |
*Ensures:* The returned path is in normal form [[fs.path.generic]].
|
| 18 |
|
| 19 |
*Returns:* `p` with symlinks resolved and the result
|
| 20 |
normalized [[fs.path.generic]].
|