Skip to content

Commit 4d60659

Browse files
authored
Merge pull request #5238 from Rageking8/adjust-is-error-code-enum-and-is-error-condition-enum-syntax
Adjust `is_error_code_enum` and `is_error_condition_enum` syntax
2 parents 1b5d8ef + db3990a commit 4d60659

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
description: "Learn more about: is_error_code_enum Class"
32
title: "is_error_code_enum Class"
3+
description: "Learn more about: is_error_code_enum Class"
44
ms.date: "11/04/2016"
55
f1_keywords: ["system_error/std::is_error_code_enum"]
66
helpviewer_keywords: ["is_error_code_enum class"]
7-
ms.assetid: cee5be2d-7c20-4cec-a352-1ab8b7d32601
87
---
98
# is_error_code_enum Class
109

@@ -13,8 +12,8 @@ Represents a type predicate that tests for the [error_code](../standard-library/
1312
## Syntax
1413

1514
```cpp
16-
template <_Enum>
17-
class is_error_code_enum;
15+
template <class _Enum>
16+
struct is_error_code_enum;
1817
```
1918

2019
## Remarks

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
description: "Learn more about: is_error_condition_enum Class"
32
title: "is_error_condition_enum Class"
3+
description: "Learn more about: is_error_condition_enum Class"
44
ms.date: "11/04/2016"
55
f1_keywords: ["system_error/std::is_error_condition_enum"]
66
helpviewer_keywords: ["is_error_condition_enum class"]
7-
ms.assetid: 752bb87a-c61c-4304-9254-5aaf228b59c0
87
---
98
# is_error_condition_enum Class
109

@@ -13,8 +12,8 @@ Represents a type predicate that tests for the [error_condition](../standard-lib
1312
## Syntax
1413

1514
```cpp
16-
template <_Enum>
17-
class is_error_condition_enum;
15+
template <class _Enum>
16+
struct is_error_condition_enum;
1817
```
1918

2019
## Remarks

0 commit comments

Comments
 (0)