From ad2717f7fa7957feb36d9384d7491b44d246ae21 Mon Sep 17 00:00:00 2001 From: Thibault Kruse Date: Mon, 5 Oct 2015 13:45:42 +0200 Subject: [PATCH] Unnecessary ';' --- CppCoreGuidelines.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 1e73274..f283af7 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -2673,7 +2673,6 @@ After the return from a function its local objects no longer exist: int* p = f(); int z = *p; // read from abandoned stack frame (bad) g(p); // pass pointer to abandoned stack frame to function (bad) - } Here on one popular implementation I got the output: @@ -9991,7 +9990,7 @@ Specifying semantics is a powerful design tool. {a - b} -> T; {a * b} -> T; {a / b} -> T; - }; + } ##### Note