From 9858685786c25d3bbd1b1ea318f9de0ce23dee50 Mon Sep 17 00:00:00 2001 From: Andrew Pardoe Date: Mon, 30 Jan 2017 11:36:57 -0800 Subject: [PATCH] Clarifying title per issue 793 --- CppCoreGuidelines.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index a5b8c56..770c235 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -3774,17 +3774,17 @@ Concrete types are also often referred to as value types to distinguish them fro Concrete type rule summary: -* [C.10: Prefer a concrete type over more complicated classes](#Rc-concrete) +* [C.10: Prefer a concrete types over class hierarchies](#Rc-concrete) * [C.11: Make concrete types regular](#Rc-regular) -### C.10 Prefer a concrete type over more complicated classes +### C.10 Prefer a concrete types over class hierarchies ##### Reason A concrete type is fundamentally simpler than a hierarchy: easier to design, easier to implement, easier to use, easier to reason about, smaller, and faster. You need a reason (use cases) for using a hierarchy. - +n ##### Example class Point1 {