From 9b9eeccf3a5a8c6ed2668b127a8b4c47d545ac1d Mon Sep 17 00:00:00 2001 From: Jan Schultke Date: Thu, 12 Oct 2023 21:52:16 +0200 Subject: [PATCH] NL.8: elaborate on reserved identifiers (#2131) * NL.8: elaborate on reserved identifiers * Update CppCoreGuidelines.md * Update CppCoreGuidelines.md * Update CppCoreGuidelines.md --------- Co-authored-by: Herb Sutter --- CppCoreGuidelines.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index ce24f65..e80f6f7 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -21626,7 +21626,8 @@ ISO Standard, use lower case only and digits, separate words with underscores: * `vector` * `my_map` -Avoid double underscores `__`. +Avoid identifier names that contain double underscores `__` or that start with an underscore followed by a capital letter (e.g., `_Throws`). +Such identifiers are reserved for the C++ implementation. ##### Example