diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 192d876..d6b82c5 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -11491,7 +11491,7 @@ Requires messy cast-and-macro-laden code to get working right. error(7, "this", "is", "an", "error"); // crash const char* is = "is"; string an = "an"; - error(7, "this", "is", an, "error"); // crash + error(7, "this", is, an, "error"); // crash } **Alternative**: Overloading. Templates. Variadic templates.