From cf3eacad1ad23d7352e7a5622eeb86bf6a0b2176 Mon Sep 17 00:00:00 2001 From: Pluto Yang Date: Thu, 17 Nov 2022 23:51:17 +0800 Subject: [PATCH] SL.io.50: missing backticks (#1994) --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 3bcf112..ae27ad3 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -20359,7 +20359,7 @@ For writing to a file, there is rarely a need to `flush`. For string streams (specifically `ostringstream`), the insertion of an `endl` is entirely equivalent to the insertion of a `'\n'` character, but also in this case, `endl` might be significantly slower. -`endl` does *not* take care of producing a platform specific end-of-line sequence (like "\r\n" on +`endl` does *not* take care of producing a platform specific end-of-line sequence (like `"\r\n"` on Windows). So for a string stream, `s << endl` just inserts a *single* character, `'\n'`. ##### Note