tmp/tmpu7xbjtu1/{from.md → to.md}
RENAMED
|
@@ -15,17 +15,13 @@ exceptions to report an argument value not in its expected range.
|
|
| 15 |
|
| 16 |
``` cpp
|
| 17 |
out_of_range(const string& what_arg);
|
| 18 |
```
|
| 19 |
|
| 20 |
-
*
|
| 21 |
-
|
| 22 |
-
*Postconditions:* `strcmp(what(), what_arg.c_str()) == 0`.
|
| 23 |
|
| 24 |
``` cpp
|
| 25 |
out_of_range(const char* what_arg);
|
| 26 |
```
|
| 27 |
|
| 28 |
-
*
|
| 29 |
-
|
| 30 |
-
*Postconditions:* `strcmp(what(), what_arg) == 0`.
|
| 31 |
|
|
|
|
| 15 |
|
| 16 |
``` cpp
|
| 17 |
out_of_range(const string& what_arg);
|
| 18 |
```
|
| 19 |
|
| 20 |
+
*Ensures:* `strcmp(what(), what_arg.c_str()) == 0`.
|
|
|
|
|
|
|
| 21 |
|
| 22 |
``` cpp
|
| 23 |
out_of_range(const char* what_arg);
|
| 24 |
```
|
| 25 |
|
| 26 |
+
*Ensures:* `strcmp(what(), what_arg) == 0`.
|
|
|
|
|
|
|
| 27 |
|