From a86ae876a24721a597726ef5116f6708376a2509 Mon Sep 17 00:00:00 2001 From: richelbilderbeek Date: Mon, 28 Sep 2015 11:38:53 +0200 Subject: [PATCH] Added example to NL 9 --- CppCoreGuidelines.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index eef7534..4198a6d 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -12859,7 +12859,11 @@ To avoid confusing macros from names that obeys scope and type rules. ##### Example - ??? + void f() + { + const int SIZE{1000}; // Bad, use 'size' instead + int v[SIZE]; + } ##### Note