From 147f4d2dc355f6f7b03f5890f0b0a125415d641a Mon Sep 17 00:00:00 2001 From: luav Date: Sun, 15 Oct 2017 10:42:51 +0200 Subject: [PATCH] Spaces in blank lines removed --- CppCoreGuidelines.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 57e6b37..d8e7d74 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -13399,14 +13399,14 @@ Application concepts are easier to reason about. *msg = "Hello"; // ... } - + void manual_publishing(std::string* msg) { // Encapsulates thread functionality into the application task std::thread publisher(publish, &msg); publisher.join(); } - + void some_fun() { std::string msg; std::thread publisher(publish, &msg); // bad (less expressive and more error-prone) @@ -13415,7 +13415,7 @@ Application concepts are easier to reason about. // ... publisher.join(); } - + ##### Note With the exception of `async()`, the standard-library facilities are low-level, machine-oriented, threads-and-lock level.