From b3584cfa5fee250ea47617bcf111cbd3de559dbd Mon Sep 17 00:00:00 2001 From: Bjarne Stroustrup Date: Sun, 30 Apr 2017 12:18:42 -0400 Subject: [PATCH] added reference to C.137 --- CppCoreGuidelines.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 67d342d..c82c618 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -6983,6 +6983,7 @@ Factoring out `Utility` makes sense if many derived classes share significant "i Obviously, the example is too "theoretical", but it is hard to find a *small* realistic example. `Interface` is the root of an [interface hierarchy](#Rh-abstract) and `Utility` is the root of an [implementation hierarchy](Rh-kind). +Here is [a slightly more realistic example](https://www.quora.com/What-are-the-uses-and-advantages-of-virtual-base-class-in-C%2B%2B/answer/Lance-Diduck?srid=tzNb) with an explanation. ##### Note