You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/code-quality/c26455.md
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,14 @@
1
1
---
2
-
description: "Learn more about: C26455 DEFAULT_CTOR_NOEXCEPT"
3
-
title: C26455
2
+
description: "Learn more about the C26455 DEFAULT_CTOR_NOEXCEPT C++ Core Guidelines Checker warning. Default constructors shouldn't do anything that can throw."
Copy file name to clipboardExpand all lines: docs/code-quality/c26456.md
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,14 @@
1
1
---
2
-
description: "Learn more about: C26456 DONT_HIDE_OPERATORS"
3
-
title: C26456
2
+
description: "Learn more about the C26456 DONT_HIDE_OPERATORS C++ Core Guidelines Checker warning. Hiding base methods is error prone and makes code harder to read."
Copy file name to clipboardExpand all lines: docs/code-quality/c26476.md
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,16 @@
1
1
---
2
-
description: "Learn more about: C26476 USE_VARIANT"
3
-
title: C26476
2
+
description: "Learn more about the C26476 USE_VARIANT C++ Core Guidelines Checker warning. Use a type-safe alternative to union, which is preferred in modern code."
3
+
title: C26476 USE_VARIANT
4
4
ms.date: 12/14/2018
5
-
ms.topic: "conceptual"
5
+
ms.topic: reference
6
6
f1_keywords: ["C26476"]
7
7
helpviewer_keywords: ["C26476"]
8
8
ms.assetid: bb2b3b26-9a84-4d81-8bae-ad9a5577c8a6
9
9
author: kylereedmsft
10
10
ms.author: kylereed
11
+
ms.custom: kr2b-contr-experiment
11
12
---
13
+
12
14
# C26476 USE_VARIANT
13
15
14
16
`std::variant` provides a type-safe alternative to `union` and should be preferred in modern code.
Copy file name to clipboardExpand all lines: docs/code-quality/c26477.md
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,14 @@
1
1
---
2
-
description: "Learn more about: C26477 USE_NULLPTR_NOT_CONSTANT"
3
-
title: C26477
2
+
description: "Learn more about the C26477 USE_NULLPTR_NOT_CONSTANT C++ Core Guidelines Checker warning. The nullptr value allows overloads with special null handling."
Copy file name to clipboardExpand all lines: docs/code-quality/c26486.md
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,14 @@
1
1
---
2
-
description: "Learn more about: C26486 LIFETIMES_FUNCTION_PRECONDITION_VIOLATION"
3
-
title: C26486
2
+
description: "Learn more about the C26486 LIFETIMES_FUNCTION_PRECONDITION_VIOLATION C++ Core Guidelines Checker warning. Don't pass an invalid pointer as a parameter."
0 commit comments