diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 4a2b6e1..13e4a32 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -11368,8 +11368,6 @@ Also, `#` and `##` encourages the definition and use of macros: There are workarounds for low-level string manipulation using macros. For example: - string s = "asdf" "lkjh"; // ordinary string literal concatenation - enum E { a, b }; template @@ -11381,9 +11379,10 @@ There are workarounds for low-level string manipulation using macros. For exampl } } - void f(int x, int y) + void f() { - string sx = stringify(); + string s1 = stringify(); + string s2 = stringify(); // ... }