ES.34: use the previously declared "const char * is"

This commit is contained in:
antcolag
2023-08-28 06:06:14 +02:00
committed by GitHub
parent b5adbd2564
commit b43874936f

View File

@@ -11491,7 +11491,7 @@ Requires messy cast-and-macro-laden code to get working right.
error(7, "this", "is", "an", "error"); // crash error(7, "this", "is", "an", "error"); // crash
const char* is = "is"; const char* is = "is";
string an = "an"; string an = "an";
error(7, "this", "is", an, "error"); // crash error(7, "this", is, an, "error"); // crash
} }
**Alternative**: Overloading. Templates. Variadic templates. **Alternative**: Overloading. Templates. Variadic templates.