From 3f51ca23fac4a7d345e76a14e6c1cf0a493d4d4b Mon Sep 17 00:00:00 2001 From: Sergey Zubkov Date: Mon, 21 Dec 2015 21:51:54 -0500 Subject: [PATCH] typos s/insigth/insight s/reders/readers s/psource/source --- CppCoreGuidelines.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 06e6ead..56e2533 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -6301,7 +6301,7 @@ Don't define those unconventionally and don't invent yur own names for them. ###### Enforcement -Tricky. Requires semantic insigth. +Tricky. Requires semantic insight. ### C.170: If you feel like overloading a lambda, use a generic lambda @@ -8690,7 +8690,7 @@ Flag empty statements that are not blocks and doesn't "contain" comments. ##### Reason -The loop control up front should enable correct reasoning about what is happening inside the loop. Modifying loop counters in both the iteration-expression and inside the body of the loop is a perennial psource of suprises and bugs. +The loop control up front should enable correct reasoning about what is happening inside the loop. Modifying loop counters in both the iteration-expression and inside the body of the loop is a perennial source of suprises and bugs. ##### Example @@ -9155,7 +9155,7 @@ The first defense against this is to [define the base class `Shape` not to allow ##### Alternative If you mean to slice, define an explicit operations to do so. -This saves reders from confusion. +This saves readers from confusion. For example: class Smiley : public Circle {