tmp/tmpi9h6bzx6/{from.md → to.md}
RENAMED
|
@@ -3,22 +3,22 @@
|
|
| 3 |
``` cpp
|
| 4 |
void assign(const filesystem::path& p);
|
| 5 |
void assign(const filesystem::path& p, error_code& ec);
|
| 6 |
```
|
| 7 |
|
| 8 |
-
*Effects:* Equivalent to `
|
| 9 |
`refresh(ec)`, respectively. If an error occurs, the values of any
|
| 10 |
cached attributes are unspecified.
|
| 11 |
|
| 12 |
*Throws:* As specified in [[fs.err.report]].
|
| 13 |
|
| 14 |
``` cpp
|
| 15 |
void replace_filename(const filesystem::path& p);
|
| 16 |
void replace_filename(const filesystem::path& p, error_code& ec);
|
| 17 |
```
|
| 18 |
|
| 19 |
-
*Effects:* Equivalent to `
|
| 20 |
`refresh()` or `refresh(ec)`, respectively. If an error occurs, the
|
| 21 |
values of any cached attributes are unspecified.
|
| 22 |
|
| 23 |
*Throws:* As specified in [[fs.err.report]].
|
| 24 |
|
|
|
|
| 3 |
``` cpp
|
| 4 |
void assign(const filesystem::path& p);
|
| 5 |
void assign(const filesystem::path& p, error_code& ec);
|
| 6 |
```
|
| 7 |
|
| 8 |
+
*Effects:* Equivalent to *`path-object`*` = p`, then `refresh()` or
|
| 9 |
`refresh(ec)`, respectively. If an error occurs, the values of any
|
| 10 |
cached attributes are unspecified.
|
| 11 |
|
| 12 |
*Throws:* As specified in [[fs.err.report]].
|
| 13 |
|
| 14 |
``` cpp
|
| 15 |
void replace_filename(const filesystem::path& p);
|
| 16 |
void replace_filename(const filesystem::path& p, error_code& ec);
|
| 17 |
```
|
| 18 |
|
| 19 |
+
*Effects:* Equivalent to *`path-object`*`.replace_filename(p)`, then
|
| 20 |
`refresh()` or `refresh(ec)`, respectively. If an error occurs, the
|
| 21 |
values of any cached attributes are unspecified.
|
| 22 |
|
| 23 |
*Throws:* As specified in [[fs.err.report]].
|
| 24 |
|