Skip to content

Commit f7d2757

Browse files
authored
Merge pull request #3112 from JordanMaples/patch-21
Change formatting and added remark to C26464
2 parents e96191b + a86b7c5 commit f7d2757

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

docs/code-quality/c26464.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,14 @@ ms.date: 03/22/2018
44
ms.topic: reference
55
f1_keywords: ["C26464"]
66
helpviewer_keywords: ["C26464"]
7+
description: CppCoreCheck placeholder warning for future con.4 enforcement
78
---
89
# C26464 USE_CONST_POINTER_FOR_ELEMENTS
910

10-
The values pointed to by elements of array '%array%' are assigned only once, mark elements as pointer to `const`. See [C++ Core Guidelines con.4](https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#con4-use-const-to-define-objects-with-values-that-do-not-change-after-construction).
11+
The values pointed to by elements of array '%array%' are assigned only once, mark elements as pointer to `const` (con.4).
12+
13+
## See also
14+
[C++ Core Guidelines con.4](https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#con4-use-const-to-define-objects-with-values-that-do-not-change-after-construction).
15+
16+
## Remarks
17+
- This rule is currently not implemented in CppCoreCheck.

0 commit comments

Comments
 (0)