From 7d99f7605abdbea89ae5e51f03364203510adbc5 Mon Sep 17 00:00:00 2001 From: hsutter Date: Thu, 24 Dec 2015 10:47:18 -0800 Subject: [PATCH] Closed #478. --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index a000fdf..7d68d12 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -5381,7 +5381,7 @@ not using this (over)general interface in favor of a particular interface found ##### Enforcement * Look for classes with lots of members that do nothing but throw. -* Flag every use of a nonpublic base class where the derived class does not override a virtual function or access a protected base member. +* Flag every use of a nonpublic base class `B` where the derived class `D` does not override a virtual function or access a protected member in `B`, and `B` is not one of the following: empty, a template parameter or parameter pack of `D`, a class template specialized with `D`. ### C.121: If a base class is used as an interface, make it a pure abstract class