tmp/tmp9zr4s4op/{from.md → to.md}
RENAMED
|
@@ -42,18 +42,18 @@ namespace std {
|
|
| 42 |
|
| 43 |
``` cpp
|
| 44 |
error_condition() noexcept;
|
| 45 |
```
|
| 46 |
|
| 47 |
-
*Effects:* Initializes
|
| 48 |
`&generic_category()`.
|
| 49 |
|
| 50 |
``` cpp
|
| 51 |
error_condition(int val, const error_category& cat) noexcept;
|
| 52 |
```
|
| 53 |
|
| 54 |
-
*Effects:* Initializes
|
| 55 |
|
| 56 |
``` cpp
|
| 57 |
template<class ErrorConditionEnum>
|
| 58 |
error_condition(ErrorConditionEnum e) noexcept;
|
| 59 |
```
|
|
@@ -72,11 +72,11 @@ assign(ec.value(), ec.category());
|
|
| 72 |
|
| 73 |
``` cpp
|
| 74 |
void assign(int val, const error_category& cat) noexcept;
|
| 75 |
```
|
| 76 |
|
| 77 |
-
*Ensures:* `val_ == val` and `cat_ == &cat`.
|
| 78 |
|
| 79 |
``` cpp
|
| 80 |
template<class ErrorConditionEnum>
|
| 81 |
error_condition& operator=(ErrorConditionEnum e) noexcept;
|
| 82 |
```
|
|
@@ -103,17 +103,17 @@ void clear() noexcept;
|
|
| 103 |
|
| 104 |
``` cpp
|
| 105 |
int value() const noexcept;
|
| 106 |
```
|
| 107 |
|
| 108 |
-
*Returns:*
|
| 109 |
|
| 110 |
``` cpp
|
| 111 |
const error_category& category() const noexcept;
|
| 112 |
```
|
| 113 |
|
| 114 |
-
*Returns:* `*cat_`.
|
| 115 |
|
| 116 |
``` cpp
|
| 117 |
string message() const;
|
| 118 |
```
|
| 119 |
|
|
|
|
| 42 |
|
| 43 |
``` cpp
|
| 44 |
error_condition() noexcept;
|
| 45 |
```
|
| 46 |
|
| 47 |
+
*Effects:* Initializes *val\_* with `0` and *cat\_* with
|
| 48 |
`&generic_category()`.
|
| 49 |
|
| 50 |
``` cpp
|
| 51 |
error_condition(int val, const error_category& cat) noexcept;
|
| 52 |
```
|
| 53 |
|
| 54 |
+
*Effects:* Initializes *val\_* with `val` and *cat\_* with `&cat`.
|
| 55 |
|
| 56 |
``` cpp
|
| 57 |
template<class ErrorConditionEnum>
|
| 58 |
error_condition(ErrorConditionEnum e) noexcept;
|
| 59 |
```
|
|
|
|
| 72 |
|
| 73 |
``` cpp
|
| 74 |
void assign(int val, const error_category& cat) noexcept;
|
| 75 |
```
|
| 76 |
|
| 77 |
+
*Ensures:* *`val_`*` == val` and *`cat_`*` == &cat`.
|
| 78 |
|
| 79 |
``` cpp
|
| 80 |
template<class ErrorConditionEnum>
|
| 81 |
error_condition& operator=(ErrorConditionEnum e) noexcept;
|
| 82 |
```
|
|
|
|
| 103 |
|
| 104 |
``` cpp
|
| 105 |
int value() const noexcept;
|
| 106 |
```
|
| 107 |
|
| 108 |
+
*Returns:* *val\_*.
|
| 109 |
|
| 110 |
``` cpp
|
| 111 |
const error_category& category() const noexcept;
|
| 112 |
```
|
| 113 |
|
| 114 |
+
*Returns:* `*`*`cat_`*.
|
| 115 |
|
| 116 |
``` cpp
|
| 117 |
string message() const;
|
| 118 |
```
|
| 119 |
|