From Jason Turner

[syserr.errcode]

Diff to HTML by rtfpessoa

tmp/tmpv1c5cuoq/{from.md → to.md} RENAMED
@@ -50,18 +50,18 @@ namespace std {
50
 
51
  ``` cpp
52
  error_code() noexcept;
53
  ```
54
 
55
- *Effects:* Initializes `val_` with `0` and `cat_` with
56
  `&system_category()`.
57
 
58
  ``` cpp
59
  error_code(int val, const error_category& cat) noexcept;
60
  ```
61
 
62
- *Effects:* Initializes `val_` with `val` and `cat_` with `&cat`.
63
 
64
  ``` cpp
65
  template<class ErrorCodeEnum>
66
  error_code(ErrorCodeEnum e) noexcept;
67
  ```
@@ -79,11 +79,11 @@ assign(ec.value(), ec.category());
79
 
80
  ``` cpp
81
  void assign(int val, const error_category& cat) noexcept;
82
  ```
83
 
84
- *Ensures:* `val_ == val` and `cat_ == &cat`.
85
 
86
  ``` cpp
87
  template<class ErrorCodeEnum>
88
  error_code& operator=(ErrorCodeEnum e) noexcept;
89
  ```
@@ -109,17 +109,17 @@ void clear() noexcept;
109
 
110
  ``` cpp
111
  int value() const noexcept;
112
  ```
113
 
114
- *Returns:* `val_`.
115
 
116
  ``` cpp
117
  const error_category& category() const noexcept;
118
  ```
119
 
120
- *Returns:* `*cat_`.
121
 
122
  ``` cpp
123
  error_condition default_error_condition() const noexcept;
124
  ```
125
 
 
50
 
51
  ``` cpp
52
  error_code() noexcept;
53
  ```
54
 
55
+ *Effects:* Initializes *val\_* with `0` and *cat\_* with
56
  `&system_category()`.
57
 
58
  ``` cpp
59
  error_code(int val, const error_category& cat) noexcept;
60
  ```
61
 
62
+ *Effects:* Initializes *val\_* with `val` and *cat\_* with `&cat`.
63
 
64
  ``` cpp
65
  template<class ErrorCodeEnum>
66
  error_code(ErrorCodeEnum e) noexcept;
67
  ```
 
79
 
80
  ``` cpp
81
  void assign(int val, const error_category& cat) noexcept;
82
  ```
83
 
84
+ *Ensures:* *`val_`*` == val` and *`cat_`*` == &cat`.
85
 
86
  ``` cpp
87
  template<class ErrorCodeEnum>
88
  error_code& operator=(ErrorCodeEnum e) noexcept;
89
  ```
 
109
 
110
  ``` cpp
111
  int value() const noexcept;
112
  ```
113
 
114
+ *Returns:* *val\_*.
115
 
116
  ``` cpp
117
  const error_category& category() const noexcept;
118
  ```
119
 
120
+ *Returns:* `*`*`cat_`*.
121
 
122
  ``` cpp
123
  error_condition default_error_condition() const noexcept;
124
  ```
125