Skip to content

Commit 1b5d8ef

Browse files
authored
Merge pull request #5239 from Rageking8/improve-system-error-functions-page
Improve `<system_error>` functions page
2 parents 2f3131d + a7968f2 commit 1b5d8ef

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

docs/standard-library/system-error-functions.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
2-
description: "Learn more about: <system_error> functions"
32
title: "<system_error> functions"
3+
description: "Learn more about: <system_error> functions"
44
ms.date: "03/15/2019"
55
f1_keywords: ["system_error/std::generic_category", "system_error/std::make_error_code", "system_error/std::make_error_condition", "system_error/std::system_category"]
6-
ms.assetid: 57d6f15f-f0b7-4e2f-80fe-31d3c320ee33
76
helpviewer_keywords: ["std::generic_category", "std::make_error_code", "std::make_error_condition", "std::system_category"]
87
---
98
# `<system_error>` functions
@@ -18,20 +17,24 @@ const error_category& generic_category() noexcept;
1817

1918
### Remarks
2019

21-
The `generic_category` object is an implementation of [error_category](../standard-library/error-category-class.md).
20+
The `generic_category` object is an implementation of [error_category](error-category-class.md).
2221

2322
## <a name="is_error_code_enum_v"></a> is_error_code_enum_v
2423

24+
A helper variable template for the [`is_error_code_enum`](is-error-code-enum-class.md) value.
25+
2526
```cpp
2627
template <class T>
27-
inline constexpr bool is_error_code_enum_v = is_error_code_enum<T>::value;
28+
constexpr bool is_error_code_enum_v = is_error_code_enum<T>::value;
2829
```
2930

3031
## <a name="is_error_condition_enum_v"></a> is_error_condition_enum_v
3132

33+
A helper variable template for the [`is_error_condition_enum`](is-error-condition-enum-class.md) value.
34+
3235
```cpp
3336
template <class T>
34-
inline constexpr bool is_error_condition_enum_v = is_error_condition_enum<T>::value;
37+
constexpr bool is_error_condition_enum_v = is_error_condition_enum<T>::value;
3538
```
3639

3740
## <a name="make_error_code"></a> make_error_code
@@ -51,8 +54,6 @@ The `std::errc` enumeration value to store in the error code object.
5154
5255
The error code object.
5356
54-
### Remarks
55-
5657
## <a name="make_error_condition"></a> make_error_condition
5758
5859
Creates an error condition object.
@@ -64,22 +65,20 @@ error_condition make_error_condition(std::errc error) noexcept;
6465
### Parameters
6566

6667
*error*\
67-
The `std::errc` enumeration value to store in the error code object.
68+
The `std::errc` enumeration value to store in the error condition object.
6869

6970
### Return Value
7071

7172
The error condition object.
7273

73-
### Remarks
74-
7574
## <a name="system_category"></a> system_category
7675

77-
Represents the category for errors caused by low-level system overflows.
76+
Represents the category for operating system errors.
7877

7978
```cpp
8079
const error_category& system_category() noexcept;
8180
```
8281

8382
### Remarks
8483

85-
The `system_category` object is an implementation of [error_category](../standard-library/error-category-class.md).
84+
The `system_category` object is an implementation of [error_category](error-category-class.md).

0 commit comments

Comments
 (0)