Skip to content

Commit 87805f4

Browse files
authored
Merge pull request #1058 from msebolt/format-standard-pr5
format standard pr5
2 parents 135a59e + 25ee205 commit 87805f4

31 files changed

+331
-331
lines changed

docs/standard-library/error-category-class.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ virtual error_condition default_error_condition(int _Errval) const;
6767
6868
|Parameter|Description|
6969
|---------------|-----------------|
70-
|`_Errval`|The error code value to store in the [error_condition](../standard-library/error-condition-class.md).|
70+
|*_Errval*|The error code value to store in the [error_condition](../standard-library/error-condition-class.md).|
7171
7272
### Return Value
7373
@@ -91,13 +91,13 @@ virtual bool equivalent(const error_code& _Code,
9191

9292
|Parameter|Description|
9393
|---------------|-----------------|
94-
|`_Errval`|The error code value to compare.|
95-
|`_Cond`|The [error_condition](../standard-library/error-condition-class.md) object to compare.|
96-
|`_Code`|The [error_code](../standard-library/error-code-class.md) object to compare.|
94+
|*_Errval*|The error code value to compare.|
95+
|*_Cond*|The [error_condition](../standard-library/error-condition-class.md) object to compare.|
96+
|*_Code*|The [error_code](../standard-library/error-code-class.md) object to compare.|
9797

9898
### Return Value
9999

100-
`true` if the category and value are equal; otherwise, `false`.
100+
**true** if the category and value are equal; otherwise, `false`.
101101

102102
### Remarks
103103

@@ -117,11 +117,11 @@ virtual string message(error_code::value_type val) const = 0;
117117
118118
|Parameter|Description|
119119
|---------------|-----------------|
120-
|`val`|The error code value to describe.|
120+
|*val*|The error code value to describe.|
121121
122122
### Return Value
123123
124-
Returns a descriptive name of the error code `val` for the category.
124+
Returns a descriptive name of the error code *val* for the category.
125125
126126
### Remarks
127127
@@ -151,7 +151,7 @@ bool operator==(const error_category& right) const;
151151

152152
|Parameter|Description|
153153
|---------------|-----------------|
154-
|`right`|The object to be tested for equality.|
154+
|*right*|The object to be tested for equality.|
155155

156156
### Return Value
157157

@@ -173,11 +173,11 @@ bool operator!=(const error_category& right) const;
173173

174174
|Parameter|Description|
175175
|---------------|-----------------|
176-
|`right`|The object to be tested for inequality.|
176+
|*right*|The object to be tested for inequality.|
177177

178178
### Return Value
179179

180-
**true** if the `error_category` object is not equal to the `error_category` object passed in `right`; otherwise **false**.
180+
**true** if the `error_category` object is not equal to the `error_category` object passed in *right*; otherwise **false**.
181181

182182
### Remarks
183183

@@ -195,7 +195,7 @@ bool operator<(const error_category& right) const;
195195

196196
|Parameter|Description|
197197
|---------------|-----------------|
198-
|`right`|The `error_category` object to be compared.|
198+
|*right*|The `error_category` object to be compared.|
199199

200200
### Return Value
201201

@@ -215,7 +215,7 @@ typedef int value_type;
215215

216216
### Remarks
217217

218-
This type definition is a synonym for `int`.
218+
This type definition is a synonym for **int**.
219219

220220
## See also
221221

docs/standard-library/error-code-class.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ void assign(value_type val, const error_category& _Cat);
7676
7777
|Parameter|Description|
7878
|---------------|-----------------|
79-
|`val`|The error code value to store in the `error_code`.|
80-
|`_Cat`|The error category to store in the `error_code`.|
79+
|*val*|The error code value to store in the `error_code`.|
80+
|*_Cat*|The error category to store in the `error_code`.|
8181
8282
### Remarks
8383
84-
The member function stores `val` as the error code value and a pointer to `_Cat`.
84+
The member function stores *val* as the error code value and a pointer to *_Cat*.
8585
8686
## <a name="category"></a> error_code::category
8787
@@ -140,15 +140,15 @@ error_code(_Enum _Errcode,
140140
141141
|Parameter|Description|
142142
|---------------|-----------------|
143-
|`val`|The error code value to store in the `error_code`.|
144-
|`_Cat`|The error category to store in the `error_code`.|
145-
|`_Errcode`|The enumeration value to store in the `error_code`.|
143+
|*val*|The error code value to store in the `error_code`.|
144+
|*_Cat*|The error category to store in the `error_code`.|
145+
|*_Errcode*|The enumeration value to store in the `error_code`.|
146146
147147
### Remarks
148148
149149
The first constructor stores a zero error code value and a pointer to the [generic_category](../standard-library/system-error-functions.md#generic_category).
150150
151-
The second constructor stores `val` as the error code value and a pointer to [error_category](http://msdn.microsoft.com/en-us/6fe57a15-63a1-4e79-8af4-6738e43e19c8).
151+
The second constructor stores *val* as the error code value and a pointer to [error_category](http://msdn.microsoft.com/en-us/6fe57a15-63a1-4e79-8af4-6738e43e19c8).
152152
153153
The third constructor stores `(value_type)_Errcode` as the error code value and a pointer to the [generic_category](../standard-library/system-error-functions.md#generic_category).
154154
@@ -180,7 +180,7 @@ bool operator==(const error_code& right) const;
180180

181181
|Parameter|Description|
182182
|---------------|-----------------|
183-
|`right`|The object to be tested for equality.|
183+
|*right*|The object to be tested for equality.|
184184

185185
### Return Value
186186

@@ -202,11 +202,11 @@ bool operator!=(const error_code& right) const;
202202

203203
|Parameter|Description|
204204
|---------------|-----------------|
205-
|`right`|The object to be tested for inequality.|
205+
|*right*|The object to be tested for inequality.|
206206

207207
### Return Value
208208

209-
**true** if the `error_code` object is not equal to the `error_code` object passed in `right`; otherwise **false**.
209+
**true** if the `error_code` object is not equal to the `error_code` object passed in *right*; otherwise **false**.
210210

211211
### Remarks
212212

@@ -224,7 +224,7 @@ bool operator<(const error_code& right) const;
224224

225225
|Parameter|Description|
226226
|---------------|-----------------|
227-
|`right`|The error_code object to be compared.|
227+
|*right*|The error_code object to be compared.|
228228

229229
### Return Value
230230

@@ -249,7 +249,7 @@ typename enable_if<is_error_code_enum<_Enum>::value,
249249

250250
|Parameter|Description|
251251
|---------------|-----------------|
252-
|`_Errcode`|The enumeration value to assign to the `error_code` object.|
252+
|*_Errcode*|The enumeration value to assign to the `error_code` object.|
253253

254254
### Return Value
255255

@@ -273,7 +273,7 @@ The Boolean value of the `error_code` object.
273273

274274
### Remarks
275275

276-
The operator returns a value convertible to `true` only if [value](#value) is not equal to zero. The return type is convertible only to `bool`, not to `void *` or other known scalar types.
276+
The operator returns a value convertible to **true** only if [value](#value) is not equal to zero. The return type is convertible only to **bool**, not to `void *` or other known scalar types.
277277

278278
## <a name="value"></a> error_code::value
279279

@@ -299,7 +299,7 @@ typedef int value_type;
299299

300300
### Remarks
301301

302-
This type definition is a synonym for `int`.
302+
This type definition is a synonym for **int**.
303303

304304
## See also
305305

docs/standard-library/error-condition-class.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@ void assign(value_type val, const error_category& _Cat);
7575
7676
|Parameter|Description|
7777
|---------------|-----------------|
78-
|`val`|The error code value to store in the `error_code`.|
79-
|`_Cat`|The error category to store in the `error_code`.|
78+
|*val*|The error code value to store in the `error_code`.|
79+
|*_Cat*|The error category to store in the `error_code`.|
8080
8181
### Remarks
8282
83-
The member function stores `val` as the error code value and a pointer to `_Cat`.
83+
The member function stores *val* as the error code value and a pointer to *_Cat*.
8484
8585
## <a name="category"></a> error_condition::category
8686
@@ -127,15 +127,15 @@ error_condition(_Enum _Errcode,
127127
128128
|Parameter|Description|
129129
|---------------|-----------------|
130-
|`val`|The error code value to store in the `error_condition`.|
131-
|`_Cat`|The error category to store in the `error_condition`.|
132-
|`_Errcode`|The enumeration value to store in the `error_condition`.|
130+
|*val*|The error code value to store in the `error_condition`.|
131+
|*_Cat*|The error category to store in the `error_condition`.|
132+
|*_Errcode*|The enumeration value to store in the `error_condition`.|
133133
134134
### Remarks
135135
136136
The first constructor stores a zero error code value and a pointer to the [generic_category](../standard-library/system-error-functions.md#generic_category).
137137
138-
The second constructor stores `val` as the error code value and a pointer to [error_category](http://msdn.microsoft.com/en-us/6fe57a15-63a1-4e79-8af4-6738e43e19c8).
138+
The second constructor stores *val* as the error code value and a pointer to [error_category](http://msdn.microsoft.com/en-us/6fe57a15-63a1-4e79-8af4-6738e43e19c8).
139139
140140
The third constructor stores `(value_type)_Errcode` as the error code value and a pointer to the [generic_category](../standard-library/system-error-functions.md#generic_category).
141141
@@ -167,7 +167,7 @@ bool operator==(const error_condition& right) const;
167167

168168
|Parameter|Description|
169169
|---------------|-----------------|
170-
|`right`|The ojbect to be tested for equality.|
170+
|*right*|The ojbect to be tested for equality.|
171171

172172
### Return Value
173173

@@ -189,11 +189,11 @@ bool operator!=(const error_condition& right) const;
189189

190190
|Parameter|Description|
191191
|---------------|-----------------|
192-
|`right`|The object to be tested for inequality.|
192+
|*right*|The object to be tested for inequality.|
193193

194194
### Return Value
195195

196-
**true** if the `error_condition` object is not equal to the `error_condition` object passed in `right`; otherwise **false**.
196+
**true** if the `error_condition` object is not equal to the `error_condition` object passed in *right*; otherwise **false**.
197197

198198
### Remarks
199199

@@ -211,7 +211,7 @@ bool operator<(const error_condition& right) const;
211211

212212
|Parameter|Description|
213213
|---------------|-----------------|
214-
|`right`|The `error_condition` object to be compared.|
214+
|*right*|The `error_condition` object to be compared.|
215215

216216
### Return Value
217217

@@ -237,7 +237,7 @@ error_condition(_Enum error,
237237
238238
|Parameter|Description|
239239
|---------------|-----------------|
240-
|`_Errcode`|The enumeration value to assign to the `error_condition` object.|
240+
|*_Errcode*|The enumeration value to assign to the `error_condition` object.|
241241
242242
### Return Value
243243
@@ -261,7 +261,7 @@ The Boolean value of the `error_condition` object.
261261

262262
### Remarks
263263

264-
The operator returns a value convertible to `true` only if [value](#value) is not equal to zero. The return type is convertible only to `bool`, not to `void *` or other known scalar types.
264+
The operator returns a value convertible to **true** only if [value](#value) is not equal to zero. The return type is convertible only to **bool**, not to `void *` or other known scalar types.
265265

266266
## <a name="value"></a> error_condition::value
267267

@@ -287,7 +287,7 @@ typedef int value_type;
287287

288288
### Remarks
289289

290-
The type definition is a synonym for `int`.
290+
The type definition is a synonym for **int**.
291291

292292
## See also
293293

docs/standard-library/exception-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class exception {
3535
3636
Specifically, this base class is the root of the standard exception classes defined in [\<stdexcept>](../standard-library/stdexcept.md). The C string value returned by `what` is left unspecified by the default constructor, but may be defined by the constructors for certain derived classes as an implementation-defined C string. None of the member functions throw any exceptions.
3737
38-
The `int` parameter allows you to specify that no memory should be allocated. The value of the `int` is ignored.
38+
The **int** parameter allows you to specify that no memory should be allocated. The value of the **int** is ignored.
3939
4040
> [!NOTE]
4141
> The constructors `exception(const char* const &message)` and `exception(const char* const &message, int)` are Microsoft extensions to the C++ Standard Library.

0 commit comments

Comments
 (0)