From 554380b8d91fe864a1123d93215d866b770fed18 Mon Sep 17 00:00:00 2001 From: Benjamin Sutas Date: Tue, 22 Sep 2015 11:33:04 +1000 Subject: [PATCH] Update CppCoreGuidelines.md Fix a typo in P.9 --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index e5b15cb..bf7c850 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -848,7 +848,7 @@ The spurious definition of copy operations disables move semantics so that the r The use of `new` and `delete` for `buf` is redundant; if we really needed a local string, we should use a local `string`. There are several more performance bugs and gratuitous complication. -**Note**: An individual example of waste is rarely significant, and where it is significant, it is typically easily eliminated by and expert. +**Note**: An individual example of waste is rarely significant, and where it is significant, it is typically easily eliminated by an expert. However, waste spread liberally across a code base can easily be significant and experts are not always as available as we would like. The aim of this rule (and the more specific rules that supports it) is to eliminate most waste related to the use of C++ before it happens. After that, we can look at waste related to algorithms and requirements, but that is beyond the scope of these guidelines.