Skip to content

Commit 5662599

Browse files
authored
Update c26465.md
1 parent d6007e7 commit 5662599

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

docs/code-quality/c26465.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,14 @@ ms.date: 03/22/2018
44
ms.topic: reference
55
f1_keywords: ["C26465"]
66
helpviewer_keywords: ["C26465"]
7+
description: CppCoreCheck rule that enforces C++ Core Guidelines Type.3
78
---
89
# C26465 NO_CONST_CAST_UNNECESSARY
910

10-
Don't use `const_cast` to cast away `const`. `const_cast` is not required; constness or volatility is not being removed by this conversion. See [C++ Core Guidelines Type.3](https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Pro-type-constcast).
11+
Don't use `const_cast` to cast away `const`. `const_cast` is not required; constness or volatility is not being removed by this conversion.
12+
13+
## See also
14+
[C++ Core Guidelines Type.3](https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Pro-type-constcast)
1115

1216
## Example
1317
```cpp

0 commit comments

Comments
 (0)