tmp/tmpmnngyxon/{from.md → to.md}
RENAMED
|
@@ -1,76 +0,0 @@
|
|
| 1 |
-
#### `filesystem_error` members <a id="filesystem_error.members">[[filesystem_error.members]]</a>
|
| 2 |
-
|
| 3 |
-
Constructors are provided that store zero, one, or two paths associated
|
| 4 |
-
with an error.
|
| 5 |
-
|
| 6 |
-
``` cpp
|
| 7 |
-
filesystem_error(const string& what_arg, error_code ec);
|
| 8 |
-
```
|
| 9 |
-
|
| 10 |
-
*Postconditions:* The postconditions of this function are indicated in
|
| 11 |
-
Table [[tab:filesystem_error.1]].
|
| 12 |
-
|
| 13 |
-
**Table: `filesystem_error(const string&, error_code)` effects** <a id="tab:filesystem_error.1">[tab:filesystem_error.1]</a>
|
| 14 |
-
|
| 15 |
-
| Expression | Value |
|
| 16 |
-
| ----------------------- | ------------------ |
|
| 17 |
-
| `runtime_error::what()` | `what_arg.c_str()` |
|
| 18 |
-
| `code()` | `ec` |
|
| 19 |
-
| `path1().empty()` | `true` |
|
| 20 |
-
| `path2().empty()` | `true` |
|
| 21 |
-
|
| 22 |
-
``` cpp
|
| 23 |
-
filesystem_error(const string& what_arg, const path& p1, error_code ec);
|
| 24 |
-
```
|
| 25 |
-
|
| 26 |
-
*Postconditions:* The postconditions of this function are indicated in
|
| 27 |
-
Table [[tab:filesystem_error.2]].
|
| 28 |
-
|
| 29 |
-
**Table: `filesystem_error(const string&, const path&, error_code)` effects** <a id="tab:filesystem_error.2">[tab:filesystem_error.2]</a>
|
| 30 |
-
|
| 31 |
-
| Expression | Value |
|
| 32 |
-
| ----------------------- | -------------------------------- |
|
| 33 |
-
| `runtime_error::what()` | `what_arg.c_str()` |
|
| 34 |
-
| `code()` | `ec` |
|
| 35 |
-
| `path1()` | Reference to stored copy of `p1` |
|
| 36 |
-
| `path2().empty()` | `true` |
|
| 37 |
-
|
| 38 |
-
``` cpp
|
| 39 |
-
filesystem_error(const string& what_arg, const path& p1, const path& p2, error_code ec);
|
| 40 |
-
```
|
| 41 |
-
|
| 42 |
-
*Postconditions:* The postconditions of this function are indicated in
|
| 43 |
-
Table [[tab:filesystem_error.3]].
|
| 44 |
-
|
| 45 |
-
**Table: `filesystem_error(const string&, const path&, const path&, error_code)` effects** <a id="tab:filesystem_error.3">[tab:filesystem_error.3]</a>
|
| 46 |
-
|
| 47 |
-
| Expression | Value |
|
| 48 |
-
| ----------------------- | -------------------------------- |
|
| 49 |
-
| `runtime_error::what()` | `what_arg.c_str()` |
|
| 50 |
-
| `code()` | `ec` |
|
| 51 |
-
| `path1()` | Reference to stored copy of `p1` |
|
| 52 |
-
| `path2()` | Reference to stored copy of `p2` |
|
| 53 |
-
|
| 54 |
-
``` cpp
|
| 55 |
-
const path& path1() const noexcept;
|
| 56 |
-
```
|
| 57 |
-
|
| 58 |
-
*Returns:* A reference to the copy of `p1` stored by the constructor,
|
| 59 |
-
or, if none, an empty path.
|
| 60 |
-
|
| 61 |
-
``` cpp
|
| 62 |
-
const path& path2() const noexcept;
|
| 63 |
-
```
|
| 64 |
-
|
| 65 |
-
*Returns:* A reference to the copy of `p2` stored by the constructor,
|
| 66 |
-
or, if none, an empty path.
|
| 67 |
-
|
| 68 |
-
``` cpp
|
| 69 |
-
const char* what() const noexcept override;
|
| 70 |
-
```
|
| 71 |
-
|
| 72 |
-
*Returns:* A string containing `runtime_error::what()`. The exact format
|
| 73 |
-
is unspecified. Implementations are encouraged but not required to
|
| 74 |
-
include `path1.native_string()` if not empty, `path2.native_string()` if
|
| 75 |
-
not empty, and `system_error::what()` strings in the returned string.
|
| 76 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|