tmp/tmp30o3_d0y/{from.md → to.md}
RENAMED
|
@@ -1,18 +1,18 @@
|
|
| 1 |
#### Relative <a id="fs.op.relative">[[fs.op.relative]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
-
path relative(const path& p, error_code& ec);
|
| 5 |
```
|
| 6 |
|
| 7 |
*Returns:* `relative(p, current_path(), ec)`.
|
| 8 |
|
| 9 |
*Throws:* As specified in [[fs.err.report]].
|
| 10 |
|
| 11 |
``` cpp
|
| 12 |
-
path relative(const path& p, const path& base = current_path());
|
| 13 |
-
path relative(const path& p, const path& base, error_code& ec);
|
| 14 |
```
|
| 15 |
|
| 16 |
*Returns:* For the first form:
|
| 17 |
|
| 18 |
``` cpp
|
|
|
|
| 1 |
#### Relative <a id="fs.op.relative">[[fs.op.relative]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
+
path filesystem::relative(const path& p, error_code& ec);
|
| 5 |
```
|
| 6 |
|
| 7 |
*Returns:* `relative(p, current_path(), ec)`.
|
| 8 |
|
| 9 |
*Throws:* As specified in [[fs.err.report]].
|
| 10 |
|
| 11 |
``` cpp
|
| 12 |
+
path filesystem::relative(const path& p, const path& base = current_path());
|
| 13 |
+
path filesystem::relative(const path& p, const path& base, error_code& ec);
|
| 14 |
```
|
| 15 |
|
| 16 |
*Returns:* For the first form:
|
| 17 |
|
| 18 |
``` cpp
|